p2p: increase queue size to 16MB (#6588)

This commit is contained in:
Callum Waters
2021-06-16 17:27:41 +02:00
committed by GitHub
parent c0f7fb08c0
commit 25bb556fee
3 changed files with 6 additions and 5 deletions
+3
View File
@@ -4,6 +4,9 @@ import (
tmsync "github.com/tendermint/tendermint/internal/libs/sync"
)
// default capacity for the size of a queue
const defaultCapacity uint = 16e6 // ~16MB
// queue does QoS scheduling for Envelopes, enqueueing and dequeueing according
// to some policy. Queues are used at contention points, i.e.:
//