diff options
author | mkanat%bugzilla.org <> | 2009-09-10 23:46:21 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-10 23:46:21 +0000 |
commit | 60e678ba4bb3bc46b396ae63d88208e58f1c6861 (patch) | |
tree | 53af056f2afd5bd725983aabad090e59bdd724e9 /Bugzilla | |
parent | ea01e56cf04ced29a9aeed8d1c64f736a2762063 (diff) | |
download | bugs-60e678ba4bb3bc46b396ae63d88208e58f1c6861.tar bugs-60e678ba4bb3bc46b396ae63d88208e58f1c6861.tar.gz bugs-60e678ba4bb3bc46b396ae63d88208e58f1c6861.tar.bz2 bugs-60e678ba4bb3bc46b396ae63d88208e58f1c6861.tar.xz bugs-60e678ba4bb3bc46b396ae63d88208e58f1c6861.zip |
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 <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Job/Mailer.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Job/Mailer.pm b/Bugzilla/Job/Mailer.pm index 24b589d80..09c387326 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]; } |