From 5ec19bce976f88fd3b357b74d8672c8b391bd26c Mon Sep 17 00:00:00 2001 From: Soph <35721420+sophoah@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:27:51 +0700 Subject: [PATCH] default SnapshotLimit to 0 (#4742) --- 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 20930fa5a5..5d8349d72b 100644 --- a/cmd/harmony/default.go +++ b/cmd/harmony/default.go @@ -284,7 +284,7 @@ var defaultCacheConfig = harmonyconfig.CacheConfig{ TrieNodeLimit: 256, TriesInMemory: 128, TrieTimeLimit: 2 * time.Minute, - SnapshotLimit: 256, + SnapshotLimit: 0, SnapshotWait: true, Preimages: true, SnapshotNoBuild: false,