From fbe56822f044977e8eca0e9fd3d5a547c2af9fa3 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 23 Oct 2025 13:32:32 +0200 Subject: [PATCH] Disable compression entirely to avoid being CPU bound --- .../index-scheduler/src/scheduler/process_snapshot_creation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs b/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs index f5190860d..4343cddd8 100644 --- a/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs +++ b/crates/index-scheduler/src/scheduler/process_snapshot_creation.rs @@ -451,7 +451,7 @@ impl IndexScheduler { let index_scheduler = IndexScheduler::private_clone(self); let builder_task = tokio::task::spawn_blocking(move || { // NOTE enabling compression still generates a corrupted tarball - let writer = flate2::write::GzEncoder::new(writer, flate2::Compression::fast()); + let writer = flate2::write::GzEncoder::new(writer, flate2::Compression::none()); let mut tarball = tar::Builder::new(writer); // 1. Snapshot the version file