Skip to content

Commit

Permalink
chore(mempool): add some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Feb 14, 2024
1 parent 7f254b9 commit 1d5f72f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/p2p/channel_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func ChannelDescriptors(cfg *config.Config) map[ChannelID]*ChannelDescriptor {
RecvMessageCapacity: mempoolBatchSize(cfg.Mempool.MaxTxBytes),
RecvBufferCapacity: 1000,
Name: "mempool",
SendRateLimit: 5,
SendRateBurst: 20,
SendRateLimit: 5, // TODO: make it configurable
SendRateBurst: 20, // TODO: make it configurable
EnqueueTimeout: 10 * time.Millisecond,
},
}
Expand Down

0 comments on commit 1d5f72f

Please sign in to comment.