update stats queue to be smaller

This commit is contained in:
William Banfield
2022-08-03 17:27:04 -04:00
parent 71607e6fcd
commit d176124aa0

View File

@@ -169,7 +169,7 @@ func NewState(
peerMsgQueue: make(chan msgInfo, msgQueueSize),
internalMsgQueue: make(chan msgInfo, msgQueueSize),
timeoutTicker: NewTimeoutTicker(),
statsMsgQueue: make(chan msgInfo, msgQueueSize),
statsMsgQueue: make(chan msgInfo, 5),
done: make(chan struct{}),
doWALCatchup: true,
wal: nilWAL{},