Commit 3a6948347dade50c17c177d4e459d32e0613cd55

Authored by zhengshouren
1 parent 314bc5df

修改默认配置

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
@@ -5,18 +5,18 @@ local max_client = 64 @@ -5,18 +5,18 @@ local max_client = 64
5 skynet.start(function() 5 skynet.start(function()
6 print("Server start") 6 print("Server start")
7 skynet.newservice("console") 7 skynet.newservice("console")
8 - skynet.newservice("debug_console", 3001) 8 + skynet.newservice("debug_console", 10001)
9 9
10 - local ngxd = skynet.newservice("services/ngxd", 3002) 10 + local ngxd = skynet.newservice("services/ngxd", 11001)
11 local watchdog = skynet.newservice("services/watchdog", max_client) 11 local watchdog = skynet.newservice("services/watchdog", max_client)
12 skynet.call(watchdog, "lua", "start", { 12 skynet.call(watchdog, "lua", "start", {
13 - port = 3003, 13 + port = 12001,
14 maxclient = max_client, 14 maxclient = max_client,
15 ngxd = ngxd, 15 ngxd = ngxd,
16 16
17 redishost = "127.0.0.1", 17 redishost = "127.0.0.1",
18 - redisport = 6379,  
19 - redisdb = 4, 18 + redisport = 6100,
  19 + redisdb = 1,
20 auth = nil, 20 auth = nil,
21 21
22 mongohost = "127.0.0.1", 22 mongohost = "127.0.0.1",