Give the quic client and server thread the names

This commit is contained in:
Lijun Wang 2022-10-06 12:21:51 -07:00
parent 981c9d07a4
commit a8d5731e5b
2 changed files with 2 additions and 0 deletions

View File

@ -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()

View File

@ -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();