mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-21 07:24:36 +00:00
p2p: increase queue size to 16MB (#6588)
This commit is contained in:
@@ -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.:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user