78 lines
1.5 KiB
JSON
78 lines
1.5 KiB
JSON
{
|
|
"netlib": {
|
|
"SrvInfo": {
|
|
"Name": "MachineServer",
|
|
"Type": 10,
|
|
"Id": 1001,
|
|
"AreaID": 1,
|
|
"Banner": [
|
|
"=================",
|
|
"machine server",
|
|
"================="
|
|
]
|
|
},
|
|
"IoServices": [
|
|
{
|
|
"Id": 1001,
|
|
"Type": 10,
|
|
"AreaId": 1,
|
|
"Name": "Gamesrv",
|
|
"Ip": "127.0.0.1",
|
|
"Port": 7001,
|
|
"Protocol":"tcp",
|
|
"Path":"/",
|
|
"MaxDone": 20000,
|
|
"MaxPend": 20000,
|
|
"MaxPacket": 65535,
|
|
"MaxConn": 1,
|
|
"RcvBuff": 819200,
|
|
"SndBuff": 819200,
|
|
"WriteTimeout": 300,
|
|
"ReadTimeout": 300,
|
|
"IsClient": true,
|
|
"IsAutoReconn": true,
|
|
"IsInnerLink": true,
|
|
"NoDelay": true,
|
|
"SupportFragment": true,
|
|
"AuthKey": "1234567890",
|
|
"FilterChain": ["session-filter-auth"],
|
|
"HandlerChain": ["session-srv-registe","handler-game-close"]
|
|
}
|
|
]
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"cmdline": {
|
|
"SupportCmdLine": true
|
|
},
|
|
"signal": {
|
|
"SupportSignal": true
|
|
}
|
|
} |