From d8381eb790ddabe6277de93fba05f383a27c048d Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Thu, 4 May 2023 10:07:59 +0200 Subject: [PATCH] Fix originalFilter --- index-scheduler/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index abd161d10..3fe0acf1a 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -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,