give tokio threads a more convenient name for monitoring purposes

This commit is contained in:
James Wilson
2021-08-09 11:36:46 +01:00
parent b22efc804a
commit 9f76fabaed
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -98,6 +98,7 @@ fn main() {
tokio::runtime::Builder::new_multi_thread()
.enable_all()
.worker_threads(worker_threads)
.thread_name("telemetry_core_worker")
.build()
.unwrap()
.block_on(async {