CompactionThreshold should be 4 finalities
otherwise we'll wear clown shoes with the slack and end up in continuous compaction.
This commit is contained in:
parent
79d21489df
commit
a21f55919b
@ -44,7 +44,7 @@ var (
|
|||||||
// === :: cold (already archived)
|
// === :: cold (already archived)
|
||||||
// ≡≡≡ :: to be archived in this compaction
|
// ≡≡≡ :: to be archived in this compaction
|
||||||
// --- :: hot
|
// --- :: hot
|
||||||
CompactionThreshold = 3 * build.Finality
|
CompactionThreshold = 4 * build.Finality
|
||||||
|
|
||||||
// CompactionBoundary is the number of epochs from the current epoch at which
|
// CompactionBoundary is the number of epochs from the current epoch at which
|
||||||
// we will walk the chain for live objects.
|
// we will walk the chain for live objects.
|
||||||
|
Loading…
Reference in New Issue
Block a user