From 8129958a06741dfb0f5016fe572f641e58a8df15 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 17 Mar 2017 12:59:11 -0400 Subject: Bug 1347335 - Lifecycle of request cache begin at apache startup --- Bugzilla.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Bugzilla.pm') 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(); } -- cgit v1.2.3-24-g4f1b