增加edge-node cache.garbage命令用于清理垃圾缓存

This commit is contained in:
刘祥超
2023-09-15 18:14:58 +08:00
parent 64642c6680
commit 99670e46a5
10 changed files with 284 additions and 66 deletions

View File

@@ -43,7 +43,7 @@ func NewPartialFileWriter(rawWriter *os.File, key string, expiredAt int64, metaH
isPartial: isPartial,
bodyOffset: bodyOffset,
ranges: ranges,
rangePath: partialRangesFilePath(rawWriter.Name()),
rangePath: PartialRangesFilePath(rawWriter.Name()),
metaHeaderSize: metaHeaderSize,
metaBodySize: metaBodySize,
}