move some module into skynet/

This commit is contained in:
Cloud Wu
2017-06-01 10:46:06 +08:00
parent 25763fc70b
commit 24537b3001
18 changed files with 28 additions and 19 deletions

View File

@@ -1,6 +1,15 @@
local skynet = require "skynet"
local names = {"cluster", "dns", "mongo", "mysql", "redis", "sharedata", "socket", "sproto"}
local names = {
"cluster",
"skynet.db.dns",
"skynet.db.mongo",
"skynet.db.mysql",
"skynet.db.redis",
"sharedata",
"skynet.socket",
"sproto"
}
-- set sandbox memory limit to 1M, must set here (at start, out of skynet.start)
skynet.memlimit(1 * 1024 * 1024)