Skip to content

Commit

Permalink
fix relay_supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
“ramfox” committed Dec 2, 2024
1 parent 6567ed6 commit 140f47c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iroh-relay/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ async fn relay_supervisor(
ret = tasks.join_next(), if tasks.len() > 0 => ret.expect("checked"),
ret = &mut quic_fut, if quic_enabled => ret.map(anyhow::Ok),
ret = &mut relay_fut, if relay_enabled => ret.map(anyhow::Ok),
else => Ok(Err(anyhow!("No relay services are enabled."))),
};
let ret = match res {
Ok(Ok(())) => {
Expand Down

0 comments on commit 140f47c

Please sign in to comment.