From 8f6a98df079a7b77847cabedd887b95919ddba0a Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 7 Aug 2024 17:06:43 +0200 Subject: [PATCH] make sure the index scheduler never stops running --- 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 f91cf955a..b5ba199de 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -612,7 +612,7 @@ impl IndexScheduler { #[cfg(test)] run.breakpoint(Breakpoint::Init); - run.wake_up.wait(); + run.wake_up.wait_timeout(std::time::Duration::from_secs(60)); loop { match run.tick() {