goserver_sync/mmo/mgrsrv/config.json

80 lines
1.3 KiB
JSON

{
"netlib": {
"SrvInfo":{
"Name": "ManagerServer",
"Type": 5,
"Id": 501,
"AreaID": 1,
"Banner": [
"=================",
"manager server",
"================="
]
},
"IoServices": [
{
"Id": 501,
"Type": 5,
"AreaId": 1,
"Name": "ManagerService",
"Ip": "",
"Port": 5555,
"MaxDone": 20,
"MaxPend": 20,
"MaxPacket": 65535,
"MaxConn": 10000,
"RcvBuff": 8192,
"SndBuff": 8192,
"WriteTimeout": 30,
"ReadTimeout": 30,
"IsInnerLink": true,
"NoDelay": true,
"SupportFragment": true,
"AuthKey": "1234567890",
"FilterChain": ["session-filter-auth","session-filter-keepalive"],
"HandlerChain": ["session-srv-registe","srv-service-handler"]
}
]
},
"module": {
"Options": {
"QueueBacklog": 1024,
"MaxDone": 1024,
"Interval": 100
}
},
"executor": {
"Options": {
"QueueBacklog": 1024,
"MaxDone": 1024,
"Interval": 0
},
"Worker": {
"WorkerCnt": 8,
"Options": {
"QueueBacklog": 1024,
"MaxDone": 1024,
"Interval": 0
}
}
},
"timer": {
"Options": {
"QueueBacklog": 1024,
"MaxDone": 1024,
"Interval": 100
}
},
"core": {
"MaxProcs": 4
},
"cmdline": {
"SupportCmdLine": true
}
}