Update config default value

This commit is contained in:
zenground0 2023-03-30 12:33:10 -06:00 committed by Phi
parent ef5c6c4c48
commit 0314db7894
2 changed files with 2 additions and 1 deletions

View File

@ -242,7 +242,7 @@
#
# type: uint64
# env var: LOTUS_CHAINSTORE_SPLITSTORE_HOTSTOREMAXSPACETARGET
#HotStoreMaxSpaceTarget = 0
#HotStoreMaxSpaceTarget = 650000000000
# When HotStoreMaxSpaceTarget is set Moving GC will be triggered when total moving size
# exceeds HotstoreMaxSpaceTarget - HotstoreMaxSpaceThreshold

View File

@ -96,6 +96,7 @@ func DefaultFullNode() *FullNode {
MarkSetType: "badger",
HotStoreFullGCFrequency: 20,
HotStoreMaxSpaceTarget: 650_000_000_000,
HotStoreMaxSpaceThreshold: 150_000_000_000,
HotstoreMaxSpaceSafetyBuffer: 50_000_000_000,
},