Rapsys Git
/
acme
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8754a
)
Fix polling of pending certificate
author
Raphaël Gertz
<git@rapsys.eu>
Tue, 19 Sep 2017 11:38:18 +0000
(13:38 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Tue, 19 Sep 2017 11:38:18 +0000
(13:38 +0200)
Acme.pm
patch
|
blob
|
history
diff --git
a/Acme.pm
b/Acme.pm
index e9280109ddcd536e49a93ee793de96290132f5a5..acffe8d9d23aab42beb660349febb667505a4ee5 100644
(file)
--- a/
Acme.pm
+++ b/
Acme.pm
@@
-602,10
+602,10
@@
sub authorize {
} @{$self->{domains}};
# Init max run
- my $remaining =
1
0;
+ my $remaining =
30
0;
# Poll pending
- while (--$remaining >= 0 and scalar map { $_->{status} eq '
valid
' ? 1 : (); } values %{$self->{challenges}}) {
+ while (--$remaining >= 0 and scalar map { $_->{status} eq '
pending
' ? 1 : (); } values %{$self->{challenges}}) {
# Sleep
sleep(1);
# Poll remaining pending