68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"server": {
|
|
"name": "Gateway Probe",
|
|
"network": "tcp4",
|
|
"addr": ":80",
|
|
"tls": false,
|
|
"concurrency": 262144,
|
|
"maxStopWaitTime": 0
|
|
},
|
|
"auth": {
|
|
"signingKey": "tWB0lUXiCwX4U3qsJZcZ10mKvEH793RHkTJDbDuZVshQTk4uNB6ck59UQ96lhsRi4XNUiEnlIbP8XYQMPabeNtERX3iyHeDcwocgUVAor1nkAajYeq1gNyJszGpMhEOT"
|
|
},
|
|
"websocket": {
|
|
"handshakeTimeout": 0,
|
|
"readBufferSize": 8192,
|
|
"writeBufferSize": 8192,
|
|
"enableCompression": false
|
|
},
|
|
"gRPC": {
|
|
"addr": "192.168.1.50:50006",
|
|
"tls": false,
|
|
"pool": {
|
|
"maxIdle": 1,
|
|
"maxCapacity": 3,
|
|
"idleTimeout": 240,
|
|
"wait": false
|
|
}
|
|
},
|
|
"redis": {
|
|
"network": "tcp",
|
|
"addr": "192.168.1.50:6379",
|
|
"tls": false,
|
|
"pool": {
|
|
"maxIdle": 1,
|
|
"maxCapacity": 3,
|
|
"idleTimeout": 240,
|
|
"wait": false
|
|
}
|
|
},
|
|
"servlets": {
|
|
"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
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|