mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 00:50:36 +00:00
Break out of busy loop, if the page-service connection is lost.
This commit is contained in:
committed by
Stas Kelvich
parent
98fd4aeffe
commit
9a8bda2938
@@ -453,6 +453,11 @@ impl Connection {
|
||||
info!("query: {:?}", m);
|
||||
};
|
||||
|
||||
if message.is_none() {
|
||||
// connection was closed
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
match message {
|
||||
Some(FeMessage::ZenithExistsRequest(req)) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user