内存缓存刷到磁盘后自动从内存中删除

This commit is contained in:
GoEdgeLab
2022-03-12 20:01:28 +08:00
parent 34f81e3f5a
commit 8c668ec7ba

View File

@@ -446,6 +446,9 @@ func (this *MemoryStorage) flushItem(key string) {
BodySize: writer.BodySize(),
})
// 从内存中移除
_ = this.Delete(key)
return
}