Greatly simplify implementation by eschewing the pipe

This commit is contained in:
Louis Dureuil
2025-10-06 21:36:54 +02:00
parent a2fc7ae5e8
commit 4492bbb5f9
2 changed files with 26 additions and 142 deletions

View File

@@ -244,8 +244,7 @@ impl IndexScheduler {
let mut builder = compression::PipedArchiveBuilder::new(
self.scheduler.snapshots_path.clone(),
base_path.clone(),
must_stop_processing.as_lambda(),
);
)?;
// 3. Snapshot the VERSION file
builder.add_file_to_archive(self.scheduler.version_file_path.clone())?;