fix the task cancelation

This commit is contained in:
Tamo
2024-11-19 01:47:42 +01:00
parent 15eefa4fcc
commit 1fcb9526f5
180 changed files with 524 additions and 644 deletions

View File

@ -40,7 +40,6 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
batch_status,
batch_kind,
batch_index_tasks,
batch_canceled_by,
batch_enqueued_at,
batch_started_at,
batch_finished_at,
@ -131,10 +130,6 @@ pub fn snapshot_index_scheduler(scheduler: &IndexScheduler) -> String {
snap.push_str(&snapshot_index_tasks(&rtxn, *batch_index_tasks));
snap.push_str("----------------------------------------------------------------------\n");
snap.push_str("### Batches Canceled By:\n");
snap.push_str(&snapshot_canceled_by(&rtxn, *batch_canceled_by));
snap.push_str("\n----------------------------------------------------------------------\n");
snap.push_str("### Batches Enqueued At:\n");
snap.push_str(&snapshot_date_db(&rtxn, *batch_enqueued_at));
snap.push_str("----------------------------------------------------------------------\n");