mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-12 22:40:25 +08:00
内存缓存刷到磁盘后自动从内存中删除
This commit is contained in:
@@ -446,6 +446,9 @@ func (this *MemoryStorage) flushItem(key string) {
|
|||||||
BodySize: writer.BodySize(),
|
BodySize: writer.BodySize(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 从内存中移除
|
||||||
|
_ = this.Delete(key)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user