bugfix: socket channel reconnect

This commit is contained in:
Cloud Wu
2014-04-24 23:08:35 +08:00
parent b65757d8bf
commit f7783d3881
4 changed files with 49 additions and 46 deletions

View File

@@ -9,9 +9,7 @@ local redis = {}
local command = {}
local meta = {
__index = command,
__gc = function(self)
self[1]:close()
end,
-- DO NOT close channel in __gc
}
---------- redis response