修复节点设置的“缓存磁盘容量”不起作用的问题

This commit is contained in:
刘祥超
2022-11-07 21:32:20 +08:00
parent 534f013f59
commit a9f8e39703
2 changed files with 2 additions and 1 deletions

View File

@@ -954,7 +954,7 @@ func (this *FileStorage) purgeLoop() {
this.checkDiskSpace()
// 计算是否应该开启LFU清理
var capacityBytes = this.policy.CapacityBytes()
var capacityBytes = this.diskCapacityBytes()
var startLFU = false
var lfuFreePercent = this.policy.PersistenceLFUFreePercent
if lfuFreePercent <= 0 {