Commit dbd98f12 authored by Ian Ward's avatar Ian Ward

release connection on connect timeout and error

parent c8030232
......@@ -145,9 +145,11 @@ Client.config = {
}
, connectTimeout = function() {
memcached.connectionIssue('Stream connect timeout', S);
Manager.remove(this);
}
, streamError = function() {
memcached.connectionIssue('Stream error', S);
Manager.remove(this);
};
// config the Stream
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment