cluster.open support cluster name

This commit is contained in:
Cloud Wu
2014-06-19 16:25:50 +08:00
parent ad9898a209
commit d0468a39f4
4 changed files with 13 additions and 3 deletions

View File

@@ -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)