summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
authorUrban Müller2026-02-23 16:24:00 +0100
committerUrban Müller2026-02-23 16:24:00 +0100
commit6105443a1241d1002edde1a4b569b51f1744b44c (patch)
tree14ab55adcc6ca8d511878b1030800e7f45304af8 /it_cache.class
parent319f896c284ae1b0da2808b279eb2ac9265e8365 (diff)
downloaditools-6105443a1241d1002edde1a4b569b51f1744b44c.tar.gz
itools-6105443a1241d1002edde1a4b569b51f1744b44c.tar.bz2
itools-6105443a1241d1002edde1a4b569b51f1744b44c.zip
increase timeout, still seeing sporadic request failures
Diffstat (limited to 'it_cache.class')
-rw-r--r--it_cache.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_cache.class b/it_cache.class
index 037e7b6..a414887 100644
--- a/it_cache.class
+++ b/it_cache.class
@@ -106,8 +106,8 @@ static function _get_memcache($p)
{
$memcache = new Memcached;
$memcache->setOptions([
- Memcached::OPT_CONNECT_TIMEOUT => 50,
- Memcached::OPT_RETRY_TIMEOUT => 10,
+ Memcached::OPT_CONNECT_TIMEOUT => 100,
+ Memcached::OPT_RETRY_TIMEOUT => 20,
]);
foreach (array_filter(it::replace(array('[#\s].*' => ""), it::file($p['hostsfile']))) as $host)