summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-25 17:02:28 +0100
committerByron Jones <glob@mozilla.com>2015-03-25 17:02:28 +0100
commit0f2b7793d5636996e7ec61206029a293eebbf73e (patch)
tree8040dc1af921d08024cdcebfabf19d973c135ef2 /Bugzilla.pm
parent03a2eace7ee39b378e1cc308b51b93f34a2e0ede (diff)
downloadbugzilla-0f2b7793d5636996e7ec61206029a293eebbf73e.tar.gz
bugzilla-0f2b7793d5636996e7ec61206029a293eebbf73e.tar.xz
Bug 1138767: retry and/or avoid push_notify deadlocks
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index cd6cc7a37..afaf77395 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -741,6 +741,9 @@ sub _cleanup {
Bugzilla->metrics->finish();
}
+ # BMO - allow "end of request" processing
+ Bugzilla::Hook::process('request_cleanup');
+
my $main = Bugzilla->request_cache->{dbh_main};
my $shadow = Bugzilla->request_cache->{dbh_shadow};
foreach my $dbh ($main, $shadow) {