From: Coleman Watts Date: Mon, 22 Apr 2013 17:20:08 +0000 (-0700) Subject: Shorter cache duration for versionCheck X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=42f366d7cc890696adf1050cf02bab3cd22e39cb;p=civicrm-core.git Shorter cache duration for versionCheck --- 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