mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-31 11:26:20 +00:00
align max wal msg and max consensus msg sizes
This commit is contained in:
committed by
Jack Zampolin
parent
7ec2dff6fd
commit
c013501f45
@@ -19,8 +19,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
// must be greater than types.BlockPartSizeBytes + a few bytes
|
||||
maxMsgSizeBytes = types.BlockPartSizeBytes * 2
|
||||
// amino overhead + time.Time + max consensus msg size
|
||||
maxMsgSizeBytes = maxMsgSize + 24
|
||||
|
||||
// how often the WAL should be sync'd during period sync'ing
|
||||
walDefaultFlushInterval = 2 * time.Second
|
||||
|
||||
Reference in New Issue
Block a user