vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r22174: LJSUP-12476: Set max_failures and failur...

Committer: vad
LJSUP-12476: Set max_failures and failure_timeout for Cache::Memcached::Fast
U   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,
     });
 }
 

Tags: livejournal, pm, vad, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments