mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
add socketchannel:changhost
This commit is contained in:
@@ -84,6 +84,7 @@ local function mongo_auth(mongoc)
|
||||
end
|
||||
return function()
|
||||
assert(mongoc:auth(user, pass))
|
||||
-- todo : If mongoc want to connect to replica set, runCommand ismater here, and call mongoc.__sock:changehost
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user