mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
improve cluster
This commit is contained in:
@@ -16,6 +16,10 @@ function cluster.open(port)
|
||||
end
|
||||
end
|
||||
|
||||
function cluster.reload()
|
||||
skynet.call(clusterd, "lua", "reload")
|
||||
end
|
||||
|
||||
skynet.init(function()
|
||||
clusterd = skynet.uniqueservice("clusterd")
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user