Unverified 提交 3652e0c5 作者: Łukasz Magiera 提交者: GitHub

core: Use correct default for connmgr lowWater

Most people weren't affected by this as those values are set in config at init, but for others it would be rather hard to debug.
上级 14ff3f99
......@@ -41,7 +41,7 @@ func LibP2P(bcfg *BuildCfg, cfg *config.Config) fx.Option {
// parse ConnMgr config
grace := config.DefaultConnMgrGracePeriod
low := config.DefaultConnMgrHighWater
low := config.DefaultConnMgrLowWater
high := config.DefaultConnMgrHighWater
connmgr := fx.Options()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论