未验证 提交 ddac3a98 编写于 作者: Y yubo 提交者: GitHub

add connect timeout options (#664)

上级 bdb15aa0
...@@ -120,9 +120,13 @@ transfer: ...@@ -120,9 +120,13 @@ transfer:
seriesLimit: 0 seriesLimit: 0
docsLimit: 0 docsLimit: 0
daysLimit: 7 # max query time daysLimit: 7 # max query time
# https://m3db.github.io/m3/m3db/architecture/consistencylevels/ # https://m3db.github.io/m3/m3db/architecture/consistencylevels/
writeConsistencyLevel: "majority" # one|majority|all writeConsistencyLevel: "majority" # one|majority|all
readConsistencyLevel: "unstrict_majority" # one|unstrict_majority|majority|all readConsistencyLevel: "unstrict_majority" # one|unstrict_majority|majority|all
writeTimeout: 5s
fetchTimeout: 5s
connectTimeout: 5s
config: config:
service: service:
# KV environment, zone, and service from which to write/read KV data (placement # KV environment, zone, and service from which to write/read KV data (placement
...@@ -195,4 +199,4 @@ judge: ...@@ -195,4 +199,4 @@ judge:
wechat: wechat:
corp_id: "xxxxxxxxxxxxx" corp_id: "xxxxxxxxxxxxx"
agent_id: 1000000 agent_id: 1000000
secret: "xxxxxxxxxxxxxxxxx" secret: "xxxxxxxxxxxxxxxxx"
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册