From 8ffab7024921493c469d41640e3ac6dd576397d5 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 5 Apr 2024 09:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9=E5=86=85?= =?UTF-8?q?=E5=AD=98=E7=BC=93=E5=AD=98=E7=AD=96=E7=95=A5=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=AD=96=E7=95=A5=E5=AE=9E=E9=99=85=E5=AE=B9?= =?UTF-8?q?=E9=87=8F=E8=B6=8A=E6=9D=A5=E8=B6=8A=E5=B0=91=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/caches/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/caches/manager.go b/internal/caches/manager.go index fb87e28..c13457f 100644 --- a/internal/caches/manager.go +++ b/internal/caches/manager.go @@ -149,7 +149,7 @@ func (this *Manager) UpdatePolicies(newPolicies []*serverconfigs.HTTPCachePolicy } this.CountFileStorages = 0 - this.CountFileStorages = 0 + this.CountMemoryStorages = 0 for _, storage := range this.storageMap { _, isFileStorage := storage.(*FileStorage) this.CountMemoryStorages++