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