mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
cluster.open support cluster name
This commit is contained in:
@@ -5,5 +5,5 @@ skynet.start(function()
|
||||
skynet.newservice("simpledb")
|
||||
print(skynet.call("SIMPLEDB", "lua", "SET", "a", "foobar"))
|
||||
print(skynet.call("SIMPLEDB", "lua", "GET", "a"))
|
||||
cluster.open(2528)
|
||||
cluster.open "db"
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user