diff options
author | Byron Jones <bjones@mozilla.com> | 2012-12-20 04:33:44 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-12-20 04:33:44 +0100 |
commit | 3154c482b5b1adb5c9229106d2130bc87439e627 (patch) | |
tree | 21dce2fe11b62f9caef2d8cd83ff171a1af5f033 /Bugzilla | |
parent | 41221bbee3b170411f404080798e2f976b0e1c3e (diff) | |
download | bugzilla-3154c482b5b1adb5c9229106d2130bc87439e627.tar.gz bugzilla-3154c482b5b1adb5c9229106d2130bc87439e627.tar.xz |
Bug 822547: jobqueue.pl should clear the request cache before sending each mail
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/JobQueue.pm | 7 |
1 files changed, 7 insertions, 0 deletions
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__ |