Skip to content

Commit

Permalink
enhance: Add unit(seconds) for new added connection manager param (mi…
Browse files Browse the repository at this point in the history
  • Loading branch information
congqixia authored Mar 5, 2024
1 parent b9775a1 commit 8c2615f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configs/milvus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pkg/util/paramtable/component_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 8c2615f

Please sign in to comment.