diff options
author | Byron Jones <bjones@mozilla.com> | 2013-09-23 09:12:11 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-09-23 09:12:11 +0200 |
commit | 32f6822ce514402024e8fd5e32297f801cad2da2 (patch) | |
tree | c70b3b2f370677be92705c9f10d0c5b75169d6f5 | |
parent | fe0d942dbac2b232146be629d91bf57b85654e97 (diff) | |
download | bugzilla-32f6822ce514402024e8fd5e32297f801cad2da2.tar.gz bugzilla-32f6822ce514402024e8fd5e32297f801cad2da2.tar.xz |
Bug 919416: set STAT_TTL in template provider to > 1 second
-rw-r--r-- | Bugzilla/Template.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 2bd2c2ee9..434e49da5 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -594,6 +594,10 @@ sub create { COMPILE_DIR => bz_locations()->{'template_cache'}, + # Don't check for a template update until 1 hour has passed since the + # last check. + STAT_TTL => 60 * 60, + # Initialize templates (f.e. by loading plugins like Hook). PRE_PROCESS => ["global/initialize.none.tmpl"], |