From e5df0d23d4ba0a44118d11d373b932758f2c1600 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 10 Sep 2009 23:47:27 +0000 Subject: [PATCH] Bug 515606: Fix the arguments of Bugzilla::Job::Mailer->retry_delay--it's actually a class method, not just a subroutine Patch by Max Kanat-Alexander r=LpSolit, a=mkanat --- Bugzilla/Job/Mailer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Job/Mailer.pm b/Bugzilla/Job/Mailer.pm index 24b589d801..09c3873268 100644 --- a/Bugzilla/Job/Mailer.pm +++ b/Bugzilla/Job/Mailer.pm @@ -33,7 +33,7 @@ use constant max_retries => 725; # The first few retries happen quickly, but after that we wait an hour for # each retry. sub retry_delay { - my $num_retries = shift; + my ($class, $num_retries) = @_; if ($num_retries < 5) { return (10, 30, 60, 300, 600)[$num_retries]; } -- 2.47.2