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 {