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

This commit is contained in:
GoEdgeLab
2023-09-15 18:14:58 +08:00
parent bbb0c68fb0
commit a31548d26e
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,
}