diff --git a/rust/relay/src/main.rs b/rust/relay/src/main.rs index b2e4fface..ffb350a22 100644 --- a/rust/relay/src/main.rs +++ b/rust/relay/src/main.rs @@ -561,9 +561,9 @@ where match self.sigterm.poll_recv(cx) { Poll::Ready(Some(())) => { if self.shutting_down { - // Received a repeated SIGTERM whilst shutting down + tracing::info!("Forcing shutdown on repeated SIGTERM"); - return Poll::Ready(Err(anyhow!("Forcing shutdown on repeated SIGTERM"))); + return Poll::Ready(Ok(())); } tracing::info!(active_allocations = %self.server.num_allocations(), "Received SIGTERM, initiating graceful shutdown"); diff --git a/rust/relay/src/server.rs b/rust/relay/src/server.rs index 04d41525c..b099d6fa0 100644 --- a/rust/relay/src/server.rs +++ b/rust/relay/src/server.rs @@ -1233,7 +1233,7 @@ fn derive_relay_addresses( // For now, we will just partially satisfy the request. // We expect clients to gracefully handle this by only extracting the relay addresses they receive. - tracing::warn!(target: "relay", "Partially fulfilling allocation using only an IPv4 address"); + tracing::debug!(target: "relay", "Partially fulfilling allocation using only an IPv4 address"); Ok((ip4.into(), None)) } @@ -1242,7 +1242,7 @@ fn derive_relay_addresses( // For now, we will just partially satisfy the request. // We expect clients to gracefully handle this by only extracting the relay addresses they receive. - tracing::warn!(target: "relay", "Partially fulfilling allocation using only an IPv6 address"); + tracing::debug!(target: "relay", "Partially fulfilling allocation using only an IPv6 address"); Ok((ip6.into(), None)) }