reduce CompactionThreshold to 5 finalities

so that we run compaction every finality, once we've first compacted
This commit is contained in:
vyzo 2021-07-04 22:12:51 +03:00
parent b08e0b7102
commit db53859e7a

View File

@ -44,7 +44,7 @@ var (
// === :: cold (already archived)
// ≡≡≡ :: to be archived in this compaction
// --- :: hot
CompactionThreshold = 6 * build.Finality
CompactionThreshold = 5 * build.Finality
// CompactionBoundary is the number of epochs from the current epoch at which
// we will walk the chain for live objects.