make sure the index scheduler never stops running

This commit is contained in:
Tamo 2024-08-07 17:06:43 +02:00
parent 36d8684dc8
commit f85e091cb4

View File

@ -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() {