Skip to content

Commit

Permalink
chore: incoming mempool channel size eq to mempool size
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Feb 2, 2024
1 parent f336485 commit e0c447c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/p2p/channel_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func ChannelDescriptors(cfg *config.Config) map[ChannelID]*ChannelDescriptor {
ID: MempoolChannel,
Priority: 2, // 5
RecvMessageCapacity: mempoolBatchSize(cfg.Mempool.MaxTxBytes),
RecvBufferCapacity: 128,
RecvBufferCapacity: cfg.Mempool.Size,
Name: "mempool",
SendRateLimit: 5,
SendRateBurst: 20,
Expand Down

0 comments on commit e0c447c

Please sign in to comment.