From b92cfdf91a2cd3b06b7a118f883aa10a660c1a2d Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 2 Dec 2015 01:35:38 +0000 Subject: [PATCH] CRM-17637 Reduce checktime out to 1s instead of 5 to avoide slowdown in remote servers --- CRM/Utils/VersionCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/VersionCheck.php b/CRM/Utils/VersionCheck.php index e41f9ffaf2..a7bc93aed8 100644 --- a/CRM/Utils/VersionCheck.php +++ b/CRM/Utils/VersionCheck.php @@ -36,7 +36,7 @@ class CRM_Utils_VersionCheck { const PINGBACK_URL = 'http://latest.civicrm.org/stable.php?format=json', // timeout for when the connection or the server is slow - CHECK_TIMEOUT = 5, + CHECK_TIMEOUT = 1, // relative to $civicrm_root LOCALFILE_NAME = 'civicrm-version.php', // relative to $config->uploadDir -- 2.25.1