...
 
Commits (4)
......@@ -245,7 +245,7 @@ Client.config = {
// check if the server is still alive
if (server in this.issues && this.issues[server].failed) {
return query.callback && query.callback(false, false);
return query.callback && query.callback('Server not available');
}
this.connect(server, function allocateMemcachedConnection (error, S) {
......@@ -256,10 +256,10 @@ Client.config = {
}
// check for issues
if (!S) return query.callback && query.callback(false, false);
if (error) return query.callback && query.callback(error);
if (!S) return query.callback && query.callback('Connect did not give a server');
if (S.readyState !== 'open') {
return query.callback && query.callback('Connection readyState is set to ' + S.readySate);
}
......
{
"name": "memcached"
, "version": "0.0.10"
, "version": "0.0.11"
, "author": "Arnout Kazemier"
, "description": "A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future."
, "main": "index"
......