From 8c2615f840f8efb37d973882d5ba76e2f14cd2a7 Mon Sep 17 00:00:00 2001 From: congqixia Date: Tue, 5 Mar 2024 14:50:59 +0800 Subject: [PATCH] enhance: Add unit(seconds) for new added connection manager param (#31023) See also #31007 #31008 #31009 Signed-off-by: Congqi Xia --- configs/milvus.yaml | 4 ++-- pkg/util/paramtable/component_param.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/milvus.yaml b/configs/milvus.yaml index ebc49efd4b889..defc97bb6bb3d 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -208,8 +208,8 @@ proxy: ginLogging: true ginLogSkipPaths: "/" # skipped url path for gin log split by comma maxTaskNum: 1024 # max task number of proxy task queue - connectionMgrCheckInterval: 120 # the interval time(in seconds) for connection manager to scan inactive client info - connectionClientInfoTTL: 86400 # inactive client info TTL duration, in seconds + connectionCheckIntervalSeconds: 120 # the interval time(in seconds) for connection manager to scan inactive client info + connectionClientInfoTTLSeconds: 86400 # inactive client info TTL duration, in seconds accessLog: enable: false # Log filename, set as "" to use stdout. diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index 9d2f27459c692..f46386b0af181 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -1370,7 +1370,7 @@ please adjust in embedded Milvus: false`, p.GracefulStopTimeout.Init(base.mgr) p.ConnectionCheckIntervalSeconds = ParamItem{ - Key: "proxy.connectionMgrCheckInterval", + Key: "proxy.connectionCheckIntervalSeconds", Version: "2.3.11", Doc: "the interval time(in seconds) for connection manager to scan inactive client info", DefaultValue: "120", @@ -1379,7 +1379,7 @@ please adjust in embedded Milvus: false`, p.ConnectionCheckIntervalSeconds.Init(base.mgr) p.ConnectionClientInfoTTLSeconds = ParamItem{ - Key: "proxy.connectionClientInfoTTL", + Key: "proxy.connectionClientInfoTTLSeconds", Version: "2.3.11", Doc: "inactive client info TTL duration, in seconds", DefaultValue: "86400",