mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 20:26:31 +00:00
Format
This commit is contained in:
@ -787,23 +787,11 @@ impl IndexScheduler {
|
||||
// 8. Delete batches datetimes
|
||||
progress.update_progress(TaskDeletionProgress::DeletingBatchesDateTime);
|
||||
|
||||
remove_batch_datetimes(
|
||||
wtxn,
|
||||
&to_delete_batches,
|
||||
self.queue.batches.enqueued_at,
|
||||
)?;
|
||||
remove_batch_datetimes(wtxn, &to_delete_batches, self.queue.batches.enqueued_at)?;
|
||||
|
||||
remove_batch_datetimes(
|
||||
wtxn,
|
||||
&to_delete_batches,
|
||||
self.queue.batches.started_at,
|
||||
)?;
|
||||
remove_batch_datetimes(wtxn, &to_delete_batches, self.queue.batches.started_at)?;
|
||||
|
||||
remove_batch_datetimes(
|
||||
wtxn,
|
||||
&to_delete_batches,
|
||||
self.queue.batches.finished_at,
|
||||
)?;
|
||||
remove_batch_datetimes(wtxn, &to_delete_batches, self.queue.batches.finished_at)?;
|
||||
|
||||
// 9. Remove batches metadata from indexes, statuses, and kinds
|
||||
progress.update_progress(TaskDeletionProgress::DeletingBatchesMetadata);
|
||||
|
Reference in New Issue
Block a user