From a8d5731e5b25f55beefb86ec48d9e0f5f77df4e9 Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Thu, 6 Oct 2022 12:21:51 -0700 Subject: [PATCH] Give the quic client and server thread the names --- streamer/src/quic.rs | 1 + tpu-client/src/quic_client.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/streamer/src/quic.rs b/streamer/src/quic.rs index 39295fa82a..1089537c74 100644 --- a/streamer/src/quic.rs +++ b/streamer/src/quic.rs @@ -99,6 +99,7 @@ pub(crate) fn configure_server( fn rt() -> Runtime { Builder::new_multi_thread() .worker_threads(NUM_QUIC_STREAMER_WORKER_THREADS) + .thread_name("quic-server") .enable_all() .build() .unwrap() diff --git a/tpu-client/src/quic_client.rs b/tpu-client/src/quic_client.rs index 6bee76189c..47a597e171 100644 --- a/tpu-client/src/quic_client.rs +++ b/tpu-client/src/quic_client.rs @@ -21,6 +21,7 @@ use { lazy_static! { static ref RUNTIME: Runtime = tokio::runtime::Builder::new_multi_thread() + .thread_name("quic-client") .enable_all() .build() .unwrap();