Skip to content

Commit 5a15103

Browse files
authored
[CON-89] Increase tm event buffer to reduce critical path backpressure (#2428)
## Describe your changes and provide context Currently, the buffer for tendermint events is too small to properly handle large amounts of traffic, since filling the buffer up will slow down the critical path for execution, resulting in potentially longer block times or at least node falling behind. ## Testing performed to validate your change Tested in loadtest cluster and detacehd pacific-1 RPC
1 parent 4066587 commit 5a15103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sei-tendermint/internal/eventbus/event_bus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/tendermint/tendermint/types"
1414
)
1515

16-
var DefaultBufferCapacity = 100
16+
var DefaultBufferCapacity = 10000
1717

1818
// Subscription is a proxy interface for a pubsub Subscription.
1919
type Subscription interface {

0 commit comments

Comments
 (0)