From 589418af5d079dbb480be8ea087bc582b3d211aa Mon Sep 17 00:00:00 2001 From: zenground0 Date: Thu, 30 Mar 2023 12:33:10 -0600 Subject: [PATCH] Update config default value --- documentation/en/default-lotus-config.toml | 2 +- node/config/def.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/en/default-lotus-config.toml b/documentation/en/default-lotus-config.toml index 1d6ae8cfba4..cd933235605 100644 --- a/documentation/en/default-lotus-config.toml +++ b/documentation/en/default-lotus-config.toml @@ -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 diff --git a/node/config/def.go b/node/config/def.go index 2617ec5ba2f..4020e4ca615 100644 --- a/node/config/def.go +++ b/node/config/def.go @@ -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, },