From 3a6948347dade50c17c177d4e459d32e0613cd55 Mon Sep 17 00:00:00 2001 From: zhengshouren <448949750@qq.com> Date: Thu, 25 Oct 2018 11:36:12 +0800 Subject: [PATCH] 修改默认配置 --- src/main.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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