summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Job
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Job')
-rw-r--r--Bugzilla/Job/Mailer.pm2
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];
}