pactus-project / pactus

Pactus blockchain
https://pactus.org
MIT License
124 stars 136 forks source link

fix(network): set infinite limit for resource manager #1261

Closed b00f closed 3 weeks ago

b00f commented 3 weeks ago

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