Introduce the ProcessingTasks struct

This commit is contained in:
Kerollmops 2022-10-17 13:54:35 +02:00 committed by Clément Renault
parent c9523c6f39
commit 703ba7a1fb
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 54 additions and 15 deletions

View file

@ -31,7 +31,7 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
let mut snap = String::new();
let (_time, processing_tasks) = processing_tasks.read().unwrap().clone();
let processing_tasks = processing_tasks.read().unwrap().processing;
snap.push_str(&format!(
"### Autobatching Enabled = {autobatching_enabled}\n"
));