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

This commit is contained in:
刘祥超
2023-07-29 09:46:14 +08:00
parent 33bb06fbc3
commit 3b2ba1aad6

View File

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