Skip to content

Commit

Permalink
fix: call SetIAVLCacheSize with the configured value in simapp (cos…
Browse files Browse the repository at this point in the history
…mos#13107)

* Call `SetIAVLCacheSize` with the configured value in simapp.

* Update CHANGELOG.md
  • Loading branch information
yihuang authored Aug 31, 2022
1 parent 476f842 commit 4b20e9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ func newApp(
baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))),
baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))),
baseapp.SetSnapshot(snapshotStore, snapshotOptions),
baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))),
)
}

Expand Down

0 comments on commit 4b20e9d

Please sign in to comment.