Fix originalFilter

This commit is contained in:
Louis Dureuil 2023-05-04 10:07:59 +02:00
parent b212aef5db
commit d8381eb790
No known key found for this signature in database

View File

@ -1146,7 +1146,7 @@ impl IndexScheduler {
self.register(KindWithContent::TaskDeletion {
query: format!(
"?beforeEnqueuedAt={},status=succeeded,failed,canceled",
"?beforeEnqueuedAt={}&statuses=succeeded,failed,canceled",
delete_before.format(&Rfc3339).map_err(|_| Error::CorruptedTaskQueue)?,
),
tasks: to_delete,