remove outdated comment

This commit is contained in:
vyzo 2022-05-31 12:09:04 +03:00
parent a313dcba74
commit a1e6410178

View File

@ -31,7 +31,6 @@ func ResourceManager(connMgrHi uint) func(lc fx.Lifecycle, repo repo.LockedRepo)
envvar := os.Getenv("LOTUS_RCMGR")
if (isFullNode && envvar == "0") || // enable by default for full nodes
(!isFullNode && envvar != "1") { // otherwise, opt-in with envvar
// this is enabled by default; specify LOTUS_RCMGR=0 to disable
log.Info("libp2p resource manager is disabled")
return network.NullResourceManager, nil
}