summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-03-17 17:59:11 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-17 21:52:47 +0100
commit8129958a06741dfb0f5016fe572f641e58a8df15 (patch)
treee3ca748c98ec06d32db8b2a70e7a4c4aa14d45fa /Bugzilla.pm
parent30a4049a81926036c7d8bc59c71c8493f57545b6 (diff)
downloadbugzilla-8129958a06741dfb0f5016fe572f641e58a8df15.tar.gz
bugzilla-8129958a06741dfb0f5016fe572f641e58a8df15.tar.xz
Bug 1347335 - Lifecycle of request cache begin at apache startup
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 55e416933..bd410364e 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -79,6 +79,10 @@ use constant SHUTDOWNHTML_RETRY_AFTER => 3600;
# Note that this is a raw subroutine, not a method, so $class isn't available.
sub init_page {
+ # This is probably not needed, but bugs resulting from a dirty
+ # request cache are very annoying (see bug 1347335)
+ # and this is not an expensive operation.
+ clear_request_cache();
if (Bugzilla->usage_mode == USAGE_MODE_CMDLINE) {
init_console();
}