From 89175efa896272930ca522b53c9559485ff0bf7f Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Tue, 27 Oct 2009 07:36:27 +0000 Subject: [PATCH] set read/write timeouts to 50ms down from 1s --- includes/memcached-client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/memcached-client.php b/includes/memcached-client.php index 040c08ac2e..6dafade31a 100644 --- a/includes/memcached-client.php +++ b/includes/memcached-client.php @@ -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; -- 2.20.1