Skip to content

Commit

Permalink
Merge pull request #37 from osmosis-labs/roman/fast-cache-max-100k
Browse files Browse the repository at this point in the history
hardcode fast node cache size to 100,000
  • Loading branch information
ValarDragon authored Mar 27, 2022
2 parents 2b3c847 + 5d79210 commit 82b9e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func newNodeDB(db dbm.DB, cacheSize int, opts *Options) *nodeDB {
nodeCacheSize: cacheSize,
nodeCacheQueue: list.New(),
fastNodeCache: make(map[string]*list.Element),
fastNodeCacheSize: cacheSize,
fastNodeCacheSize: 100000,
fastNodeCacheQueue: list.New(),
versionReaders: make(map[int64]uint32, 8),
storageVersion: string(storeVersion),
Expand Down

0 comments on commit 82b9e53

Please sign in to comment.