From 2a10253aea57d1e25280392a4f9b4e9420ece1b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 19 Sep 2017 13:38:18 +0200 Subject: [PATCH] Fix polling of pending certificate --- Acme.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Acme.pm b/Acme.pm index e928010..acffe8d 100644 --- a/Acme.pm +++ b/Acme.pm @@ -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 -- 2.41.1