From 9c82f7ca3624b5876b40a3c470a0b5e072ddc039 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 20 Mar 2022 20:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/caches/storage_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/caches/storage_file.go b/internal/caches/storage_file.go index 6c13c1b..a43af6a 100644 --- a/internal/caches/storage_file.go +++ b/internal/caches/storage_file.go @@ -997,7 +997,7 @@ func (this *FileStorage) hotLoop() { this.hotMap = map[string]*HotItem{} this.hotMapLocker.Unlock() - // 取Top10写入内存 + // 取Top10%写入内存 if len(result) > 0 { sort.Slice(result, func(i, j int) bool { return result[i].Hits > result[j].Hits