Skip to content

Commit 1dd4a1c

Browse files
increase disk index cache size (#71)
Co-authored-by: Thomas Jungblut <[email protected]>
1 parent 44b5b67 commit 1dd4a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sstables/disk_key_index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func (l *DiskIndexLoader) Load(indexPath string, _ *proto.MetaData) (_ SortedKey
177177

178178
idx := &DiskKeyIndex{
179179
reader: reader,
180-
offsetCacheMaxSize: 128,
180+
offsetCacheMaxSize: 1024,
181181
offsetCache: make(map[uint64]*proto.IndexEntry),
182182
}
183183
return idx, nil

0 commit comments

Comments
 (0)