mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
bugfix: skynet.exit redirect error, and add datacenter.wait
This commit is contained in:
@@ -10,5 +10,9 @@ function datacenter.set(...)
|
||||
return skynet.call("DATACENTER", "lua", "UPDATE", ...)
|
||||
end
|
||||
|
||||
function datacenter.wait(...)
|
||||
return skynet.call("DATACENTER", "lua", "WAIT", ...)
|
||||
end
|
||||
|
||||
return datacenter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user