|
|
@ -19,8 +19,8 @@ import ( |
|
|
|
) |
|
|
|
|
|
|
|
const ( |
|
|
|
// must be greater than types.BlockPartSizeBytes + a few bytes
|
|
|
|
maxMsgSizeBytes = 1024 * 1024 // 1MB
|
|
|
|
// 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 |
|
|
|