p2p: reduce buffering on channels

This commit is contained in:
tycho garen
2021-06-21 16:45:52 -04:00
parent 6e238b5b9d
commit 3616717500
5 changed files with 15 additions and 15 deletions

View File

@@ -696,7 +696,7 @@ func createPEXReactorV2(
router *p2p.Router,
) (*pex.ReactorV2, error) {
channel, err := router.OpenChannel(pex.ChannelDescriptor(), &protop2p.PexMessage{}, 4096)
channel, err := router.OpenChannel(pex.ChannelDescriptor(), &protop2p.PexMessage{}, 128)
if err != nil {
return nil, err
}