Browse Source

add connect timeout options (#664)

tags/v5.8.0
yubo GitHub 5 years ago
parent
commit
ddac3a9871
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      etc/server.yml

+ 5
- 1
etc/server.yml 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"

Loading…
Cancel
Save