aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-01-03 00:31:37 +0800
committerByron Jones <bjones@mozilla.com>2013-01-03 00:31:37 +0800
commitdfbc167a014c2630e07296777c9d75dd2f0f236d (patch)
tree691f38593f0e1d82c65fddb78e2c1a096652d0cd /Bugzilla
parent31610212aa0731715c913f724001fcd6ab1e1df8 (diff)
downloadbugs-dfbc167a014c2630e07296777c9d75dd2f0f236d.tar
bugs-dfbc167a014c2630e07296777c9d75dd2f0f236d.tar.gz
bugs-dfbc167a014c2630e07296777c9d75dd2f0f236d.tar.bz2
bugs-dfbc167a014c2630e07296777c9d75dd2f0f236d.tar.xz
bugs-dfbc167a014c2630e07296777c9d75dd2f0f236d.zip
Bug 822547: Make jobqueue.pl clear the request cache before sending each mail
r=dkl,a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/JobQueue.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm
index 519313448..098ee7935 100644
--- a/Bugzilla/JobQueue.pm
+++ b/Bugzilla/JobQueue.pm
@@ -93,6 +93,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__