提升Partial Content的范围数据(ranges)写入效率

This commit is contained in:
GoEdgeLab
2024-04-20 17:44:23 +08:00
parent b4c8f9cd02
commit b8e6d585c4
6 changed files with 184 additions and 3 deletions

View File

@@ -1486,6 +1486,7 @@ func (this *FileStorage) removeCacheFile(path string) error {
_, statErr := os.Stat(partialPath)
if statErr == nil {
_ = os.Remove(partialPath)
SharedPartialRangesQueue.Delete(partialPath)
}
}
return err