Add tracing to index-scheduler

This commit is contained in:
Louis Dureuil 2024-01-23 09:41:59 +01:00
parent 89401d097b
commit 02e6c8a440
No known key found for this signature in database
4 changed files with 36 additions and 16 deletions

View file

@ -1193,7 +1193,7 @@ impl IndexScheduler {
log::error!("Failure to delete the content files associated with task {}. Error: {e}", task.uid);
}
}
log::info!("A batch of tasks was successfully completed.");
tracing::info!("A batch of tasks was successfully completed.");
}
// If we have an abortion error we must stop the tick here and re-schedule tasks.
Err(Error::Milli(milli::Error::InternalError(