Update session ttl to 60s (#26346)

Signed-off-by: wayblink <anyang.wang@zilliz.com>
pull/26475/head
wayblink 2023-08-18 22:52:20 +08:00 committed by GitHub
parent 71133e5eaa
commit c5a1b41f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,
}