mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/mergeset: typo fix after b6ed9afd6d
This commit is contained in:
parent
d4df32cc6b
commit
986c12487a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func SetDataBlocksCacheSize(size int) {
|
|||
func getMaxInmemoryBlocksCacheSize() int {
|
||||
maxInmemoryBlockCacheSizeOnce.Do(func() {
|
||||
if maxInmemoryBlockCacheSize <= 0 {
|
||||
maxIndexBlockCacheSize = int(0.25 * float64(memory.Allowed()))
|
||||
maxInmemoryBlockCacheSize = int(0.25 * float64(memory.Allowed()))
|
||||
}
|
||||
})
|
||||
return maxInmemoryBlockCacheSize
|
||||
|
|
Loading…
Reference in a new issue