mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Fix an issue with the update loop falsely breaking
This commit is contained in:
@ -162,8 +162,7 @@ impl UpdateStore {
|
||||
// function returns a Result and we must just unlock the loop on Result.
|
||||
'outer: while timeout(duration, notification_receiver.recv())
|
||||
.await
|
||||
.transpose()
|
||||
.map_or(false, |r| r.is_ok())
|
||||
.map_or(true, |o| o.is_some())
|
||||
{
|
||||
loop {
|
||||
match update_store_weak.upgrade() {
|
||||
|
Reference in New Issue
Block a user