summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
authorChristian Schneider2009-01-14 15:16:55 +0000
committerChristian Schneider2009-01-14 15:16:55 +0000
commit18470949be741f34b4bd31e475aa7ab42fb01e42 (patch)
treeab897368e414fb049e7a1f2cd3bd665e7be682ce /it_cache.class
parent42d766dc21efe81825c75507583015eae3990cc9 (diff)
downloaditools-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.class2
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;
}