Break out of busy loop, if the page-service connection is lost.

This commit is contained in:
Heikki Linnakangas
2021-03-30 12:09:13 +03:00
committed by Stas Kelvich
parent 98fd4aeffe
commit 9a8bda2938

View File

@@ -453,6 +453,11 @@ impl Connection {
info!("query: {:?}", m);
};
if message.is_none() {
// connection was closed
return Ok(());
}
match message {
Some(FeMessage::ZenithExistsRequest(req)) => {