Skip to content

Commit

Permalink
chore: disable rate limits on mempool
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Feb 2, 2024
1 parent cfa50c2 commit 27caa0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/p2p/channel_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ func ChannelDescriptors(cfg *config.Config) map[ChannelID]*ChannelDescriptor {
RecvMessageCapacity: mempoolBatchSize(cfg.Mempool.MaxTxBytes),
RecvBufferCapacity: 1000,
Name: "mempool",
SendRateLimit: 5,
SendRateBurst: 20,
EnqueueTimeout: 1 * time.Millisecond,
// SendRateLimit: 5,
// SendRateBurst: 20,
EnqueueTimeout: 1 * time.Millisecond,
},
}

Expand Down

0 comments on commit 27caa0a

Please sign in to comment.