Skip to content

Commit

Permalink
add SetIAVLCacheSize and SetIAVLDisableFastNode (#2777)
Browse files Browse the repository at this point in the history
Co-authored-by: sheldon <997166273@qq.com>
  • Loading branch information
aofengli and sheldon committed Nov 28, 2022
1 parent dc8d1a1 commit d0466e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/iris/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ func (ac appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer,
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))),
baseapp.SetIAVLDisableFastNode(cast.ToBool(appOpts.Get(server.FlagDisableIAVLFastNode))),
)
}

Expand Down

0 comments on commit d0466e3

Please sign in to comment.