summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/JobQueue.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm
index a5d8737b2..8540d12ed 100644
--- a/Bugzilla/JobQueue.pm
+++ b/Bugzilla/JobQueue.pm
@@ -147,6 +147,8 @@ sub set_pidfile {
# Clear the request cache at the start of each run.
sub work_once {
my $self = shift;
+ Bugzilla::Hook::process('request_cleanup');
+ Bugzilla::Bug->CLEANUP;
Bugzilla->clear_request_cache();
return $self->SUPER::work_once(@_);
}