From 0314db78942c0d2b327a00aa3a17016b1fa7eba6 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 4e6cba4a30f..25cd350c816 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, },