mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
improve the details and stats of the current batch processing
This commit is contained in:
@ -69,9 +69,13 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
|
||||
snap.push_str(&format!("### Autobatching Enabled = {autobatching_enabled}\n"));
|
||||
snap.push_str(&format!(
|
||||
"### Processing batch {:?}:\n",
|
||||
processing.batch.map(|batch| batch.uid)
|
||||
processing.batch.as_ref().map(|batch| batch.uid)
|
||||
));
|
||||
snap.push_str(&snapshot_bitmap(&processing.processing));
|
||||
if let Some(ref batch) = processing.batch {
|
||||
snap.push_str("\n");
|
||||
snap.push_str(&snapshot_batch(&batch.to_batch()));
|
||||
}
|
||||
snap.push_str("\n----------------------------------------------------------------------\n");
|
||||
|
||||
snap.push_str("### All Tasks:\n");
|
||||
|
Reference in New Issue
Block a user