83 lines
1.3 KiB
JSON
83 lines
1.3 KiB
JSON
{
|
|
"netlib": {
|
|
"SrvInfo":{
|
|
"Name": "EchoClient",
|
|
"Type": 1,
|
|
"Id": 101,
|
|
"AreaID": 1,
|
|
"Banner": [
|
|
"=================",
|
|
"echo client",
|
|
"================="
|
|
]
|
|
},
|
|
|
|
"IoServices": []
|
|
},
|
|
|
|
"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
|
|
},
|
|
|
|
"pressure": {
|
|
"Count":1,
|
|
"Connects": {
|
|
"Id": 201,
|
|
"Type": 2,
|
|
"AreaID": 0,
|
|
"Name": "EchoService",
|
|
"Ip": "gt.doudoubei.com",
|
|
"Port": 11111,
|
|
"Protocol":"tcp",
|
|
"Path":"/",
|
|
"MaxDone": 20,
|
|
"MaxPend": 20,
|
|
"MaxPacket": 65535,
|
|
"MaxConn": 8,
|
|
"RcvBuff": 8192,
|
|
"SndBuff": 8192,
|
|
"WriteTimeout": 30,
|
|
"ReadTimeout": 30,
|
|
"NoDelay": true,
|
|
"IsInnerLink": true,
|
|
"IsClient": true,
|
|
"IsAutoReconn": true,
|
|
"AllowMultiConn": true,
|
|
"SupportFragment": true,
|
|
"AuthKey": "1234567890",
|
|
"FilterChain": ["session-filter-trace","session-filter-auth","serversessionfilter"]
|
|
}
|
|
}
|
|
} |