From 18470949be741f34b4bd31e475aa7ab42fb01e42 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 14 Jan 2009 15:16:55 +0000 Subject: Use default connection parameter for connection retries to memcached --- it_cache.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3