From 42f366d7cc890696adf1050cf02bab3cd22e39cb Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 22 Apr 2013 10:20:08 -0700 Subject: [PATCH] Shorter cache duration for versionCheck --- CRM/Utils/VersionCheck.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/VersionCheck.php b/CRM/Utils/VersionCheck.php index 76a5cccfec..a118af2031 100644 --- a/CRM/Utils/VersionCheck.php +++ b/CRM/Utils/VersionCheck.php @@ -41,8 +41,8 @@ class CRM_Utils_VersionCheck { LOCALFILE_NAME = 'civicrm-version.php', // relative to $config->uploadDir CACHEFILE_NAME = 'latest-version-cache.txt', - // cachefile expiry time (in seconds) - a week - CACHEFILE_EXPIRE = 604800; + // cachefile expiry time (in seconds) - one day + CACHEFILE_EXPIRE = 86400; /** * We only need one instance of this object, so we use the -- 2.25.1