This commit is contained in:
geek
2018-04-13 16:51:51 +09:00
parent 8548e829ae
commit d9f54c3ad4
5 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/sh
set -e
exec /usr/local/overflow/bin/probe_gateway_rpc -config-dir=/etc/overflow/config

View File

@@ -0,0 +1,29 @@
{
"serverHandler": {
"name": "Gateway Probe",
"network": "tcp4",
"address": ":80",
"concurrency": 262144,
"keepAlive": 60,
"handshakeTimeout": 60,
"maxMessageSize": 8192,
"readBufferSize": 4096,
"writeBufferSize": 4096,
"readTimeout": 0,
"writeTimeout": 0,
"pongTimeout": 60,
"pingTimeout": 10,
"pingPeriod": 9,
"enableCompression": false
},
"external": {
"grpc": {
"network": "tcp4",
"address": "192.168.1.50:50006"
},
"redis": {
"network": "tcp4",
"address": "192.168.1.50:6379"
}
}
}