mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 00:50:36 +00:00
not mergeable: don't do tokio::time::timeout() for flush seconds counter
This commit is contained in:
@@ -1337,14 +1337,7 @@ impl SmgrOpFlushInProgress {
|
||||
},
|
||||
);
|
||||
|
||||
loop {
|
||||
match tokio::time::timeout(Duration::from_secs(10), &mut fut).await {
|
||||
Ok(v) => return v,
|
||||
Err(_timeout) => {
|
||||
(*observe_guard)();
|
||||
}
|
||||
}
|
||||
}
|
||||
fut.await
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user