set read/write timeouts to 50ms down from 1s
authorDomas Mituzas <midom@users.mediawiki.org>
Tue, 27 Oct 2009 07:36:27 +0000 (07:36 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Tue, 27 Oct 2009 07:36:27 +0000 (07:36 +0000)
includes/memcached-client.php

index 040c08a..6dafade 100644 (file)
@@ -258,8 +258,8 @@ class memcached
       $this->_cache_sock = array();
       $this->_host_dead = array();
 
-      $this->_timeout_seconds = 1;
-      $this->_timeout_microseconds = 0;
+      $this->_timeout_seconds = 0;
+      $this->_timeout_microseconds = 50000;
 
       $this->_connect_timeout = 0.01;
       $this->_connect_attempts = 2;