Skip to content

Commit

Permalink
Merge pull request #59 from initia-labs/fix/cache-capacity
Browse files Browse the repository at this point in the history
fix: cache capacity config
  • Loading branch information
Vritra4 authored Aug 20, 2024
2 parents d18034a + ffd8f53 commit a473ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/kvindexer/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (k *Keeper) Seal() error {

k.schema = &schema

k.store = store.NewCacheStore(dbadapter.Store{DB: k.db}, k.config.CacheCapacity*1024*1024)
k.store = store.NewCacheStore(dbadapter.Store{DB: k.db}, k.config.CacheCapacity)
k.sealed = true

return nil
Expand Down

0 comments on commit a473ea9

Please sign in to comment.