add connect timeout options (#664)

This commit is contained in:
yubo 2021-04-20 19:10:25 +08:00 committed by GitHub
parent bdb15aa0bb
commit ddac3a9871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -120,9 +120,13 @@ transfer:
seriesLimit: 0
docsLimit: 0
daysLimit: 7 # max query time
# https://m3db.github.io/m3/m3db/architecture/consistencylevels/
writeConsistencyLevel: "majority" # one|majority|all
readConsistencyLevel: "unstrict_majority" # one|unstrict_majority|majority|all
writeTimeout: 5s
fetchTimeout: 5s
connectTimeout: 5s
config:
service:
# KV environment, zone, and service from which to write/read KV data (placement
@ -195,4 +199,4 @@ judge:
wechat:
corp_id: "xxxxxxxxxxxxx"
agent_id: 1000000
secret: "xxxxxxxxxxxxxxxxx"
secret: "xxxxxxxxxxxxxxxxx"