From 1d5f72f4976fa936983d6efa3970569b3e2e6ad6 Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:25:22 +0100 Subject: [PATCH] chore(mempool): add some TODOs --- internal/p2p/channel_params.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/p2p/channel_params.go b/internal/p2p/channel_params.go index 481fe2e86..4debeab4e 100644 --- a/internal/p2p/channel_params.go +++ b/internal/p2p/channel_params.go @@ -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, }, }