mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/mergeset: typo fix after b6ed9afd6d
This commit is contained in:
parent
5d45ea1003
commit
ed12c60826
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