From f85e091cb42ccf8125aaa93643055010db984244 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 c9ea70bb8..5293c7140 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() {