silence list, not sure if the port should always be set
This commit is contained in:
parent
af0dafefa2
commit
50ada93524
1 changed files with 1 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ class memcached
|
|||
function _dead_sock ($sock)
|
||||
{
|
||||
$host = array_search($sock, $this->_cache_sock);
|
||||
list ($ip, $port) = explode(":", $host);
|
||||
@list ($ip, $port) = explode(":", $host);
|
||||
$this->_host_dead[$ip] = time() + 30 + intval(rand(0, 10));
|
||||
$this->_host_dead[$host] = $this->_host_dead[$ip];
|
||||
unset($this->_cache_sock[$host]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue