projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a735c19
)
CRM-17637 Reduce checktime out to 1s instead of 5 to avoide slowdown in remote servers
author
Seamus Lee
<seamuslee001@gmail.com>
Wed, 2 Dec 2015 01:35:38 +0000
(
01:35
+0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Wed, 2 Dec 2015 01:35:38 +0000
(
01:35
+0000)
CRM/Utils/VersionCheck.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/VersionCheck.php
b/CRM/Utils/VersionCheck.php
index e41f9ffaf21aac26c2b96c80e4b8bc8ee0dbba48..a7bc93aed8da3c46308b9e0b60c1fca91b6e3748 100644
(file)
--- 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