Slight changes

This commit is contained in:
Louis Dureuil 2024-11-21 16:47:33 +01:00
parent 61d0615253
commit 221e547e86
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ impl IndexScheduler {
let started_processing_at = std::time::Instant::now(); let started_processing_at = std::time::Instant::now();
let secs_since_started_processing_at = AtomicU64::new(0); 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 processing_tasks = self.processing_tasks.clone();
let must_stop_processing = self.must_stop_processing.clone(); let must_stop_processing = self.must_stop_processing.clone();

View File

@ -241,6 +241,7 @@ impl<'extractor> BalancedCaches<'extractor> {
} }
} }
/// SAFETY: No Thread-Local inside
unsafe impl MostlySend for BalancedCaches<'_> {} unsafe impl MostlySend for BalancedCaches<'_> {}
struct NormalCaches<'extractor> { struct NormalCaches<'extractor> {