mirror of
https://github.com/filecoin-project/lotus.git
synced 2025-08-06 16:41:19 +08:00
chore: fix struct field name in comment (#13157)
Signed-off-by: findmyhappy <findhappy@sohu.com>
This commit is contained in:
@ -102,14 +102,14 @@ type Config struct {
|
|||||||
// from the hotstore should be written to the cold store
|
// from the hotstore should be written to the cold store
|
||||||
UniversalColdBlocks bool
|
UniversalColdBlocks bool
|
||||||
|
|
||||||
// HotstoreMessageRetention indicates the hotstore retention policy for messages.
|
// HotStoreMessageRetention indicates the hotstore retention policy for messages.
|
||||||
// It has the following semantics:
|
// It has the following semantics:
|
||||||
// - a value of 0 will only retain messages within the compaction boundary (4 finalities)
|
// - a value of 0 will only retain messages within the compaction boundary (4 finalities)
|
||||||
// - a positive integer indicates the number of finalities, outside the compaction boundary,
|
// - a positive integer indicates the number of finalities, outside the compaction boundary,
|
||||||
// for which messages will be retained in the hotstore.
|
// for which messages will be retained in the hotstore.
|
||||||
HotStoreMessageRetention uint64
|
HotStoreMessageRetention uint64
|
||||||
|
|
||||||
// HotstoreFullGCFrequency indicates how frequently (in terms of compactions) to garbage collect
|
// HotStoreFullGCFrequency indicates how frequently (in terms of compactions) to garbage collect
|
||||||
// the hotstore using full (moving) GC if supported by the hotstore.
|
// the hotstore using full (moving) GC if supported by the hotstore.
|
||||||
// A value of 0 disables full GC entirely.
|
// A value of 0 disables full GC entirely.
|
||||||
// A positive value is the number of compactions before a full GC is performed;
|
// A positive value is the number of compactions before a full GC is performed;
|
||||||
|
Reference in New Issue
Block a user