Skip to content

Commit

Permalink
set Runtime thread pool name prefix (tokio-rs#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar authored and carllerche committed Mar 15, 2018
1 parent d1046db commit b7f4e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b7f4e33

Please sign in to comment.