Skip to content

Commit b02ea4c

Browse files
authored
set default snapshotlimit to 0 (#4693)
1 parent 1603870 commit b02ea4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/harmony/default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ var defaultCacheConfig = harmonyconfig.CacheConfig{
278278
TrieNodeLimit: 256,
279279
TriesInMemory: 128,
280280
TrieTimeLimit: 2 * time.Minute,
281-
SnapshotLimit: 256,
281+
SnapshotLimit: 0,
282282
SnapshotWait: true,
283283
Preimages: true,
284284
SnapshotNoBuild: false,

0 commit comments

Comments
 (0)