add __nowating flag to cluster config, see issue #803

This commit is contained in:
Cloud Wu
2018-05-22 19:48:54 +08:00
parent 6c7cb5313d
commit a8ab809928
3 changed files with 32 additions and 14 deletions

View File

@@ -22,6 +22,7 @@ skynet.start(function()
}
print(pcall(cluster.call, "db", "@sdb", "GET", "a")) -- db is down
end)
cluster.reload { __nowaiting = false }
local pingserver = cluster.snax("db3", "pingserver")
print(pingserver.req.ping "hello")
end)