From 221e547e86c0a995eaa6fb6a60cf7d95d0b823c0 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 21 Nov 2024 16:47:33 +0100 Subject: [PATCH] Slight changes --- crates/index-scheduler/src/batch.rs | 2 +- crates/milli/src/update/new/extract/cache.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/index-scheduler/src/batch.rs b/crates/index-scheduler/src/batch.rs index 41e1da840..630471790 100644 --- a/crates/index-scheduler/src/batch.rs +++ b/crates/index-scheduler/src/batch.rs @@ -1239,7 +1239,7 @@ impl IndexScheduler { let started_processing_at = std::time::Instant::now(); let secs_since_started_processing_at = AtomicU64::new(0); - const PRINT_SECS_DELTA: u64 = 1; + const PRINT_SECS_DELTA: u64 = 5; let processing_tasks = self.processing_tasks.clone(); let must_stop_processing = self.must_stop_processing.clone(); diff --git a/crates/milli/src/update/new/extract/cache.rs b/crates/milli/src/update/new/extract/cache.rs index 5aeffdb99..26ed0eb44 100644 --- a/crates/milli/src/update/new/extract/cache.rs +++ b/crates/milli/src/update/new/extract/cache.rs @@ -241,6 +241,7 @@ impl<'extractor> BalancedCaches<'extractor> { } } +/// SAFETY: No Thread-Local inside unsafe impl MostlySend for BalancedCaches<'_> {} struct NormalCaches<'extractor> {