未验证 提交 c5a1b41f 编写于 作者: W wayblink 提交者: GitHub

Update session ttl to 60s (#26346)

Signed-off-by: Nwayblink <anyang.wang@zilliz.com>
上级 71133e5e
......@@ -480,7 +480,7 @@ common:
# superUsers: root
tlsMode: 0
session:
ttl: 20 # ttl value when session granting a lease to register service
ttl: 60 # ttl value when session granting a lease to register service
retryTimes: 30 # retry times when session sending etcd requests
# preCreatedTopic decides whether using existed topic
......
......@@ -40,7 +40,7 @@ const (
DefaultMiddlePriorityThreadCoreCoefficient = 50
DefaultLowPriorityThreadCoreCoefficient = 10
DefaultSessionTTL = 20 // s
DefaultSessionTTL = 60 // s
DefaultSessionRetryTimes = 30
DefaultMaxDegree = 56
......@@ -548,7 +548,7 @@ like the old password verification when updating the credential`,
p.SessionTTL = ParamItem{
Key: "common.session.ttl",
Version: "2.0.0",
DefaultValue: "20",
DefaultValue: "60",
Doc: "ttl value when session granting a lease to register service",
Export: true,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册