Merge pull request #674 from RJie/master

更正connection丢失的问题
This commit is contained in:
云风
2017-06-27 18:14:18 +08:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ function _M.new(startup_nodes,opt)
end
local function nodename(node)
return string.format("%s:%s",node.host,node.port)
return string.format("%s:%d",node.host,node.port)
end
function rediscluster:get_redis_link(node)