From 3154c482b5b1adb5c9229106d2130bc87439e627 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 20 Dec 2012 11:33:44 +0800 Subject: Bug 822547: jobqueue.pl should clear the request cache before sending each mail --- Bugzilla/JobQueue.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Bugzilla/JobQueue.pm') diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm index 7ea678345..e719efa04 100644 --- a/Bugzilla/JobQueue.pm +++ b/Bugzilla/JobQueue.pm @@ -99,6 +99,13 @@ sub insert { return $retval; } +# Clear the request cache at the start of each run. +sub work_once { + my $self = shift; + Bugzilla->clear_request_cache(); + return $self->SUPER::work_once(@_); +} + 1; __END__ -- cgit v1.2.3-24-g4f1b