X-Git-Url: https://git.rapsys.eu/acme/blobdiff_plain/baefa26a7b8ea0eb362851dceb3cf3cfdffc86e8..eca5b24132a03005fa63f2952649c296dc640d4e:/Acme.pm?ds=inline diff --git a/Acme.pm b/Acme.pm index e928010..2bb0aaf 100644 --- a/Acme.pm +++ b/Acme.pm @@ -71,7 +71,7 @@ use constant { ACME_PROD_DIR => 'https://acme-v01.api.letsencrypt.org/directory', # Version - VERSION => 'v0.9', + VERSION => '1.3', }; # User agent object @@ -602,10 +602,10 @@ sub authorize { } @{$self->{domains}}; # Init max run - my $remaining = 10; + my $remaining = 300; # 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