mirror of https://github.com/milvus-io/milvus.git
Change Etcd session timeout to 20s (#22401)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>pull/22479/head
parent
fa101e9751
commit
256aaa1944
|
@ -393,7 +393,7 @@ common:
|
||||||
superUsers: root
|
superUsers: root
|
||||||
tlsMode: 0
|
tlsMode: 0
|
||||||
session:
|
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
|
retryTimes: 30 # retry times when session sending etcd requests
|
||||||
|
|
||||||
# QuotaConfig, configurations of Milvus quota and limits.
|
# QuotaConfig, configurations of Milvus quota and limits.
|
||||||
|
|
|
@ -35,7 +35,7 @@ const (
|
||||||
DefaultGracefulStopTimeout = 30 // s
|
DefaultGracefulStopTimeout = 30 // s
|
||||||
DefaultThreadCoreCoefficient = 10
|
DefaultThreadCoreCoefficient = 10
|
||||||
|
|
||||||
DefaultSessionTTL = 60 //s
|
DefaultSessionTTL = 20 //s
|
||||||
DefaultSessionRetryTimes = 30
|
DefaultSessionRetryTimes = 30
|
||||||
|
|
||||||
DefaultMaxDegree = 56
|
DefaultMaxDegree = 56
|
||||||
|
@ -594,7 +594,7 @@ like the old password verification when updating the credential`,
|
||||||
p.SessionTTL = ParamItem{
|
p.SessionTTL = ParamItem{
|
||||||
Key: "common.session.ttl",
|
Key: "common.session.ttl",
|
||||||
Version: "2.0.0",
|
Version: "2.0.0",
|
||||||
DefaultValue: "60",
|
DefaultValue: "20",
|
||||||
Doc: "ttl value when session granting a lease to register service",
|
Doc: "ttl value when session granting a lease to register service",
|
||||||
Export: true,
|
Export: true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue