Committer: vad
LJSUP-12476: Set max_failures and failure_timeout for Cache::Memcached::FastU trunk/cgi-bin/LJ/MemCache.pm
Modified: trunk/cgi-bin/LJ/MemCache.pm =================================================================== --- trunk/cgi-bin/LJ/MemCache.pm 2012-06-05 11:39:39 UTC (rev 22173) +++ trunk/cgi-bin/LJ/MemCache.pm 2012-06-05 12:16:41 UTC (rev 22174) @@ -726,6 +726,8 @@ 'compress_threshold' => $LJ::MEMCACHE_COMPRESS_THRESHOLD, 'connect_timeout' => $LJ::MEMCACHE_CONNECT_TIMEOUT, 'nowait' => 1, + 'max_failures' => 1, + 'failure_timeout' => 25, }); }