69 lines
1.3 KiB
JSON
69 lines
1.3 KiB
JSON
{
|
|
"server": {
|
|
"addr": ":19090",
|
|
"tls": false
|
|
},
|
|
"websocket": {
|
|
"HandshakeTimeout": 0,
|
|
"ReadBufferSize": 8192,
|
|
"WriteBufferSize": 8192,
|
|
"EnableCompression": false
|
|
},
|
|
"grpc": {
|
|
"addr": "127.0.0.1:50006",
|
|
"tls": false,
|
|
"pool": {
|
|
"MaxIdle": 1,
|
|
"MaxCapacity": 3,
|
|
"increaseCapacity": 10
|
|
}
|
|
},
|
|
"redis": {
|
|
"network": "tcp",
|
|
"addr": "127.0.0.1:6379",
|
|
"tls": false,
|
|
"pool": {
|
|
"MaxIdle": 3,
|
|
"IdleTimeout": 240,
|
|
"increaseCapacity": 10
|
|
}
|
|
},
|
|
"logging": {
|
|
"addr": "127.0.0.1:6379",
|
|
"tls": false,
|
|
"pool": {
|
|
"initialCapacity": 30,
|
|
"maxCapacity": 100,
|
|
"increaseCapacity": 10
|
|
}
|
|
},
|
|
"handlers": {
|
|
"web": {
|
|
"entry": "/web",
|
|
"socket": {
|
|
"MaxMessageSize": 8192,
|
|
"WriteTimeout": 0,
|
|
"ReadTimeout": 0,
|
|
"PongTimeout": 60,
|
|
"PingTimeout": 10,
|
|
"PingPeriod": 10,
|
|
"BinaryMessage": false
|
|
}
|
|
},
|
|
"file": {
|
|
"entry": "/file",
|
|
"socket": {
|
|
"MaxMessageSize": 8192,
|
|
"WriteTimeout": 0,
|
|
"ReadTimeout": 0,
|
|
"PongTimeout": 60,
|
|
"PingTimeout": 10,
|
|
"PingPeriod": 10,
|
|
"BinaryMessage": false
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|