Commit 3a6948347dade50c17c177d4e459d32e0613cd55
1 parent
314bc5df
修改默认配置
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
src/main.lua
... | ... | @@ -5,18 +5,18 @@ local max_client = 64 |
5 | 5 | skynet.start(function() |
6 | 6 | print("Server start") |
7 | 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 | 11 | local watchdog = skynet.newservice("services/watchdog", max_client) |
12 | 12 | skynet.call(watchdog, "lua", "start", { |
13 | - port = 3003, | |
13 | + port = 12001, | |
14 | 14 | maxclient = max_client, |
15 | 15 | ngxd = ngxd, |
16 | 16 | |
17 | 17 | redishost = "127.0.0.1", |
18 | - redisport = 6379, | |
19 | - redisdb = 4, | |
18 | + redisport = 6100, | |
19 | + redisdb = 1, | |
20 | 20 | auth = nil, |
21 | 21 | |
22 | 22 | mongohost = "127.0.0.1", | ... | ... |