mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-01 17:15:46 +01:00
make sure the index scheduler never stops running
This commit is contained in:
parent
2d16d0aea1
commit
8f6a98df07
@ -612,7 +612,7 @@ impl IndexScheduler {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
run.breakpoint(Breakpoint::Init);
|
run.breakpoint(Breakpoint::Init);
|
||||||
|
|
||||||
run.wake_up.wait();
|
run.wake_up.wait_timeout(std::time::Duration::from_secs(60));
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
match run.tick() {
|
match run.tick() {
|
||||||
|
Loading…
Reference in New Issue
Block a user