Skip to content

Commit

Permalink
Update mirrord/cli/src/external_proxy.rs
Browse files Browse the repository at this point in the history
Co-authored-by: t4lz <[email protected]>
  • Loading branch information
DmitryDodzin and t4lz authored Jan 28, 2025
1 parent 955cc0f commit 9fd566f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mirrord/cli/src/external_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pub async fn proxy(listen_port: u16, watch: drain::Watch) -> CliResult<()> {
config.external_proxy.start_idle_timeout,
)));

// This connection is just to keep the agent alive as long as the client side is running.
let mut own_agent_conn = connect_and_ping(&config, agent_connect_info.clone(), &mut analytics)
.await
.inspect_err(|_| cancellation_token.cancel())?;
Expand Down

0 comments on commit 9fd566f

Please sign in to comment.