make compaction parameters variable

This commit is contained in:
vyzo 2021-02-28 13:51:42 +02:00
parent 7587ab6234
commit 5639261e44

View File

@ -22,7 +22,8 @@ import (
bstore "github.com/filecoin-project/lotus/lib/blockstore"
)
const (
// these are variable so that 1) lotus-soup builds 2) we can change them in tests
var (
CompactionThreshold = 5 * build.Finality
CompactionCold = build.Finality
)