mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
fix: redis cluster typo (#2112)
This commit is contained in:
@@ -271,7 +271,7 @@ function rediscluster:get_random_connection()
|
|||||||
-- If the connection is not good close it ASAP in order
|
-- If the connection is not good close it ASAP in order
|
||||||
-- to avoid waiting for the GC finalizer. File
|
-- to avoid waiting for the GC finalizer. File
|
||||||
-- descriptors are a rare resource.
|
-- descriptors are a rare resource.
|
||||||
self.connetions[node.name] = nil
|
self.connections[node.name] = nil
|
||||||
conn:disconnect()
|
conn:disconnect()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user