diff --git a/src/main.lua b/src/main.lua index 163d386..d72eed9 100644 --- a/src/main.lua +++ b/src/main.lua @@ -5,18 +5,18 @@ local max_client = 64 skynet.start(function() print("Server start") skynet.newservice("console") - skynet.newservice("debug_console", 3001) + skynet.newservice("debug_console", 10001) - local ngxd = skynet.newservice("services/ngxd", 3002) + local ngxd = skynet.newservice("services/ngxd", 11001) local watchdog = skynet.newservice("services/watchdog", max_client) skynet.call(watchdog, "lua", "start", { - port = 3003, + port = 12001, maxclient = max_client, ngxd = ngxd, redishost = "127.0.0.1", - redisport = 6379, - redisdb = 4, + redisport = 6100, + redisdb = 1, auth = nil, mongohost = "127.0.0.1", -- libgit2 0.21.2