mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Fix compiler errors related autobatching option of the index scheduler
This commit is contained in:
parent
eabac9676b
commit
9a74ea0943
14 changed files with 19 additions and 3 deletions
|
@ -15,6 +15,7 @@ use crate::{
|
|||
|
||||
pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
|
||||
let IndexScheduler {
|
||||
autobatching_enabled,
|
||||
processing_tasks,
|
||||
file_store: _,
|
||||
env,
|
||||
|
@ -32,6 +33,9 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
|
|||
let mut snap = String::new();
|
||||
|
||||
let (_time, processing_tasks) = processing_tasks.read().unwrap().clone();
|
||||
snap.push_str(&format!(
|
||||
"### Autobatching Enabled = {autobatching_enabled}\n"
|
||||
));
|
||||
snap.push_str("### Processing Tasks:\n");
|
||||
snap.push_str(&snapshot_bitmap(&processing_tasks));
|
||||
snap.push_str("\n----------------------------------------------------------------------\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue