2020-03-11 18:25:20 +08:00
|
|
|
query:
|
|
|
|
connTimeout: 1000
|
|
|
|
callTimeout: 2000
|
|
|
|
indexCallTimeout: 2000
|
|
|
|
|
|
|
|
redis:
|
|
|
|
addrs:
|
|
|
|
- 127.0.0.1:6379
|
2020-03-25 16:36:27 +08:00
|
|
|
db: 0
|
2020-03-11 18:25:20 +08:00
|
|
|
pass: ""
|
|
|
|
# timeout:
|
|
|
|
# conn: 500
|
|
|
|
# read: 3000
|
|
|
|
# write: 3000
|
|
|
|
|
|
|
|
identity:
|
|
|
|
specify: ""
|
2020-03-24 10:32:53 +08:00
|
|
|
shell: ifconfig `route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|awk -F ':' '{print $NF}'|head -n 1
|
2020-03-11 18:25:20 +08:00
|
|
|
|
|
|
|
logger:
|
|
|
|
dir: logs/judge
|
|
|
|
level: WARNING
|
2020-03-23 19:52:19 +08:00
|
|
|
keepHours: 2
|