Change Etcd session timeout to 20s (#22401)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
pull/22479/head
Xiaofan 2023-02-28 11:13:47 +08:00 committed by GitHub
parent fa101e9751
commit 256aaa1944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -393,7 +393,7 @@ common:
superUsers: root
tlsMode: 0
session:
ttl: 60 # ttl value when session granting a lease to register service
ttl: 20 # ttl value when session granting a lease to register service
retryTimes: 30 # retry times when session sending etcd requests
# QuotaConfig, configurations of Milvus quota and limits.

View File

@ -35,7 +35,7 @@ const (
DefaultGracefulStopTimeout = 30 // s
DefaultThreadCoreCoefficient = 10
DefaultSessionTTL = 60 //s
DefaultSessionTTL = 20 //s
DefaultSessionRetryTimes = 30
DefaultMaxDegree = 56
@ -594,7 +594,7 @@ like the old password verification when updating the credential`,
p.SessionTTL = ParamItem{
Key: "common.session.ttl",
Version: "2.0.0",
DefaultValue: "60",
DefaultValue: "20",
Doc: "ttl value when session granting a lease to register service",
Export: true,
}