修复内存缓存无法缓存的问题

This commit is contained in:
GoEdgeLab
2023-10-10 15:23:23 +08:00
parent be43aae929
commit 286570c333

View File

@@ -146,7 +146,7 @@ func (this *MemoryWriter) Close() error {
err = ErrWritingQueueFull
}
} else {
err = ErrWritingQueueFull
this.storage.valuesMap[this.hash] = this.item
}
} else {
this.storage.valuesMap[this.hash] = this.item