MDL-38162 memcache: fixed up the memcache plugins
This commit is contained in:
Vendored
+1
-1
@@ -116,8 +116,8 @@ class cachestore_memcache extends cache_store implements cache_is_configurable {
|
||||
foreach ($this->servers as $server) {
|
||||
$this->connection->addServer($server[0], $server[1], true, $server[2]);
|
||||
// Test the connection to this server.
|
||||
$this->isready = @$this->connection->set("ping", 'ping', MEMCACHE_COMPRESSED, 1);
|
||||
}
|
||||
$this->isready = @$this->connection->set("ping", 'ping', MEMCACHE_COMPRESSED, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+1
-1
@@ -140,8 +140,8 @@ class cachestore_memcached extends cache_store implements cache_is_configurable
|
||||
$this->connection->setOption($key, $value);
|
||||
}
|
||||
$this->connection->addServers($this->servers);
|
||||
$this->isready = @$this->connection->set("ping", 'ping', 1);
|
||||
}
|
||||
$this->isready = @$this->connection->set("ping", 'ping', 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user