diff --git a/configs/milvus.yaml b/configs/milvus.yaml index bcc9944f7a..f3994abb99 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -988,7 +988,7 @@ common: internaltlsEnabled: false tlsMode: 0 session: - ttl: 10 # ttl value when session granting a lease to register service + ttl: 30 # ttl value when session granting a lease to register service retryTimes: 30 # retry times when session sending etcd requests locks: metrics: diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index c414da5df5..eb76c4f72a 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -47,7 +47,7 @@ const ( DefaultMiddlePriorityThreadCoreCoefficient = 5 DefaultLowPriorityThreadCoreCoefficient = 1 - DefaultSessionTTL = 10 // s + DefaultSessionTTL = 30 // s DefaultSessionRetryTimes = 30 DefaultMaxDegree = 56 @@ -846,7 +846,7 @@ Large numeric passwords require double quotes to avoid yaml parsing precision is p.SessionTTL = ParamItem{ Key: "common.session.ttl", Version: "2.0.0", - DefaultValue: "10", + DefaultValue: "30", Doc: "ttl value when session granting a lease to register service", Export: true, }