give tokio threads a more convenient name for monitoring purposes

This commit is contained in:
James Wilson committed 2021-08-09 11:36:46 +01:00
1 parent b22efc804a
commit 9f76fabaed
3 files changed
+3

No files matched your search

+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 {