From b02ea4c83068a626f28b358d0f7cdcaf586e53b5 Mon Sep 17 00:00:00 2001 From: Soph <35721420+sophoah@users.noreply.github.com> Date: Sun, 16 Jun 2024 09:52:37 +0700 Subject: [PATCH] set default snapshotlimit to 0 (#4693) --- cmd/harmony/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/harmony/default.go b/cmd/harmony/default.go index 22b964b997..0d546da5e9 100644 --- a/cmd/harmony/default.go +++ b/cmd/harmony/default.go @@ -278,7 +278,7 @@ var defaultCacheConfig = harmonyconfig.CacheConfig{ TrieNodeLimit: 256, TriesInMemory: 128, TrieTimeLimit: 2 * time.Minute, - SnapshotLimit: 256, + SnapshotLimit: 0, SnapshotWait: true, Preimages: true, SnapshotNoBuild: false,