Skip to content

Commit

Permalink
Merge pull request #1011 from afuna/fix-captcha-backoff
Browse files Browse the repository at this point in the history
Make the last delay happen in 10 seconds rather than 0
  • Loading branch information
afuna committed Oct 28, 2014
2 parents f6b8537 + 3785656 commit 8e528f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/maint/captcha.pl
Expand Up @@ -41,7 +41,7 @@

# pre-fetch. Gradually ease off the timer if we were unable to get a captcha
# if we failed totally, we can always try again next time we run maint tasks
my @backoff_timer = ( 1, 3, 5, 0 );
my @backoff_timer = ( 1, 3, 5, 10 );
my $delay = 1;
my @fetched_captchas = ();
foreach my $i ( 1...$need ) {
Expand Down

0 comments on commit 8e528f1

Please sign in to comment.