From 11bb84c38d8c45349b262fb1ea9452001f9828a6 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Thu, 29 May 2025 17:56:25 +0100 Subject: [PATCH] save 1000 bytes by removing instrument --- proxy/src/proxy/copy_bidirectional.rs | 1 - proxy/src/proxy/passthrough.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/proxy/src/proxy/copy_bidirectional.rs b/proxy/src/proxy/copy_bidirectional.rs index 97f8d7c6af..41ac5b2880 100644 --- a/proxy/src/proxy/copy_bidirectional.rs +++ b/proxy/src/proxy/copy_bidirectional.rs @@ -67,7 +67,6 @@ where } } -#[tracing::instrument(skip_all)] pub async fn copy_bidirectional_client_compute( client: &mut Client, compute: &mut Compute, diff --git a/proxy/src/proxy/passthrough.rs b/proxy/src/proxy/passthrough.rs index b27a3b9034..e9c4d0e2f4 100644 --- a/proxy/src/proxy/passthrough.rs +++ b/proxy/src/proxy/passthrough.rs @@ -15,7 +15,6 @@ use crate::stream::Stream; use crate::usage_metrics::{Ids, MetricCounterRecorder, USAGE_METRICS}; /// Forward bytes in both directions (client <-> compute). -#[tracing::instrument(skip_all)] pub(crate) async fn proxy_pass( client: impl AsyncRead + AsyncWrite + Unpin, compute: impl AsyncRead + AsyncWrite + Unpin,