Skip to content

Commit

Permalink
fix/QB-1344 Read IAVL cache size from config
Browse files Browse the repository at this point in the history
  • Loading branch information
mdumais-stratos committed Dec 22, 2022
1 parent 1f93167 commit a40dbe1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/stchaind/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ func (a appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, a
baseapp.SetSnapshotStore(snapshotStore),
baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(sdkserver.FlagStateSyncSnapshotInterval))),
baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(sdkserver.FlagStateSyncSnapshotKeepRecent))),
baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get("iavl-cache-size"))),
)
}

Expand Down

0 comments on commit a40dbe1

Please sign in to comment.