summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean McArthur <sean@seanmonstar.com>2018-03-15 16:37:32 -0700
committerCarl Lerche <me@carllerche.com>2018-03-15 16:37:32 -0700
commitb7f4e337be0dd131fc57eec3402aee5dd882e28a (patch)
treecfc53911dc8e8f1839cbc55a64cd4cc7368a6297 /src
parentd1046db7353aa227a70f8b7f6e5465c674dc2572 (diff)
set Runtime thread pool name prefix (#232)
Diffstat (limited to 'src')
-rw-r--r--src/runtime.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime.rs b/src/runtime.rs
index c277bb78..dcc25fc2 100644
--- a/src/runtime.rs
+++ b/src/runtime.rs
@@ -234,6 +234,7 @@ impl Runtime {
let handle = reactor.handle().clone();
let pool = threadpool::Builder::new()
+ .name_prefix("tokio-runtime-worker-")
.around_worker(move |w, enter| {
::tokio_reactor::with_default(&handle, enter, |_| {
w.run();