Closed b00f closed 3 weeks ago
This PR fixes a mistake on resource manager limit. The high watermark limit should be a bit less than the rcmgr connections limit. Otherwise "High Watermark" trimming never happens because it's higher than the rcmgr limit.
Read more here: https://github.com/libp2p/go-libp2p/issues/2628#issuecomment-1809829270
Description
This PR fixes a mistake on resource manager limit. The high watermark limit should be a bit less than the rcmgr connections limit. Otherwise "High Watermark" trimming never happens because it's higher than the rcmgr limit.
Read more here: https://github.com/libp2p/go-libp2p/issues/2628#issuecomment-1809829270