Skip to content

Commit a473ea9

Browse files
authored
Merge pull request #59 from initia-labs/fix/cache-capacity
fix: cache capacity config
2 parents d18034a + ffd8f53 commit a473ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/kvindexer/keeper/keeper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (k *Keeper) Seal() error {
9999

100100
k.schema = &schema
101101

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

105105
return nil

0 commit comments

Comments
 (0)