From 156e2de72e6e86896797f072202abe156f439d05 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 15 Dec 2021 15:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AA=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E7=9A=84=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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/caches/storage_file.go b/internal/caches/storage_file.go index 3c181a9..8ba5a0f 100644 --- a/internal/caches/storage_file.go +++ b/internal/caches/storage_file.go @@ -208,9 +208,6 @@ func (this *FileStorage) OpenReader(key string) (Reader, error) { return this.openReader(key, true) } -var cacheMap = map[string][]*os.File{} -var cacheMapLocker = ysnc. - func (this *FileStorage) openReader(key string, allowMemory bool) (Reader, error) { // 先尝试内存缓存 if allowMemory && this.memoryStorage != nil {