more accurate setting of skip params
This commit is contained in:
parent
2426ffb277
commit
e52c709d8a
@ -105,8 +105,8 @@ func NewSplitStore(path string, ds dstore.Datastore, cold, hot bstore.Blockstore
|
|||||||
|
|
||||||
fullCompaction: cfg.EnableFullCompaction,
|
fullCompaction: cfg.EnableFullCompaction,
|
||||||
enableGC: cfg.EnableGC,
|
enableGC: cfg.EnableGC,
|
||||||
skipOldMsgs: !cfg.Archival,
|
skipOldMsgs: !(cfg.EnableFullCompaction && cfg.Archival),
|
||||||
skipMsgReceipts: !cfg.Archival,
|
skipMsgReceipts: !(cfg.EnableFullCompaction && cfg.Archival),
|
||||||
}
|
}
|
||||||
|
|
||||||
return ss, nil
|
return ss, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user