mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-10 20:10:24 +08:00
写缓存元数据也加入写并发数
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user