mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-07 00:05:49 +08:00
修复未完成的代码
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user