写缓存元数据也加入写并发数

This commit is contained in:
GoEdgeLab
2023-07-29 09:46:14 +08:00
parent 986ac733fd
commit 2275b9c737

View File

@@ -614,7 +614,9 @@ func (this *FileStorage) openWriter(key string, expiredAt int64, status int, hea
metaBodySize = bodySize
}
fsutils.WriteBegin()
_, err = writer.Write(metaBytes)
fsutils.WriteEnd()
if err != nil {
return nil, err
}