mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-08 19:40:25 +08:00
修复修改内存缓存策略导致缓存策略实际容量越来越少的问题
This commit is contained in:
@@ -149,7 +149,7 @@ func (this *Manager) UpdatePolicies(newPolicies []*serverconfigs.HTTPCachePolicy
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.CountFileStorages = 0
|
this.CountFileStorages = 0
|
||||||
this.CountFileStorages = 0
|
this.CountMemoryStorages = 0
|
||||||
for _, storage := range this.storageMap {
|
for _, storage := range this.storageMap {
|
||||||
_, isFileStorage := storage.(*FileStorage)
|
_, isFileStorage := storage.(*FileStorage)
|
||||||
this.CountMemoryStorages++
|
this.CountMemoryStorages++
|
||||||
|
|||||||
Reference in New Issue
Block a user