be more careful about fusing in select! (#2052)

This commit is contained in:
Robert Habermeier
2020-12-02 08:52:51 -05:00
committed by GitHub
parent b13052de12
commit 709f990fb2
3 changed files with 10 additions and 9 deletions
@@ -695,7 +695,7 @@ pub(crate) async fn run(
let (relay_parent, validator_id, peer_id) = match res {
Some(res) => res,
// Will never happen, but better to be safe.
None => continue,
None => return Ok(()),
};
let _timer = state.metrics.time_handle_connection_request();