mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
cluster support
This commit is contained in:
12
examples/config.c2
Normal file
12
examples/config.c2
Normal file
@@ -0,0 +1,12 @@
|
||||
thread = 8
|
||||
logger = nil
|
||||
harbor = 1
|
||||
address = "127.0.0.1:2527"
|
||||
master = "127.0.0.1:2014"
|
||||
start = "cluster2"
|
||||
bootstrap = "snlua bootstrap" -- The service for bootstrap
|
||||
standalone = "0.0.0.0:2014"
|
||||
luaservice = "./service/?.lua;./test/?.lua;./examples/?.lua"
|
||||
lualoader = "lualib/loader.lua"
|
||||
cpath = "./cservice/?.so"
|
||||
cluster = "./examples/clustername.lua"
|
||||
Reference in New Issue
Block a user