enhance: Add unit(seconds) for new added connection manager param (#31023)

See also #31007 #31008 #31009

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/31000/head
congqixia 2024-03-05 14:50:59 +08:00 committed by GitHub
parent b9775a1816
commit 8c2615f840
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

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

View File

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