diff options
author | Christian Schneider | 2009-01-14 15:16:55 +0000 |
---|---|---|
committer | Christian Schneider | 2009-01-14 15:16:55 +0000 |
commit | 18470949be741f34b4bd31e475aa7ab42fb01e42 (patch) | |
tree | ab897368e414fb049e7a1f2cd3bd665e7be682ce /it_cache.class | |
parent | 42d766dc21efe81825c75507583015eae3990cc9 (diff) | |
download | itools-18470949be741f34b4bd31e475aa7ab42fb01e42.tar.gz itools-18470949be741f34b4bd31e475aa7ab42fb01e42.tar.bz2 itools-18470949be741f34b4bd31e475aa7ab42fb01e42.zip |
Use default connection parameter for connection retries to memcached
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class index 551d103..0e7ff0a 100644 --- a/it_cache.class +++ b/it_cache.class @@ -85,7 +85,7 @@ function _get_memcache($p) $memcache = new Memcache; foreach (array_filter(it::replace(array('[#\s].*' => ""), file($p['hostsfile']))) as $host) - $reachable += intval(@$memcache->addServer($host, 11211, true, 1, 1, -1)); + $reachable += intval(@$memcache->addServer($host)); $GLOBALS[$memcache_id] = $reachable ? $memcache : false; } |