Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
rust-crates-io: add crossbeam to tp2
Browse files Browse the repository at this point in the history
Reviewed By: ikostia

Differential Revision: D10244968

fbshipit-source-id: 8d06bb64b6a1227ae589caf0588a1f3657603ce9
  • Loading branch information
lukaspiatkowski authored and facebook-github-bot committed Oct 9, 2018
1 parent c4f7fae commit 0f24377
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions futures-ext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,13 +638,9 @@ mod test {
"Thread count too small to prove parallelism"
);

let mut threadpool_builder = tokio::executor::thread_pool::Builder::new();
threadpool_builder
.name_prefix("my-runtime-worker-")
.pool_size(THREAD_COUNT);

let mut runtime = tokio::runtime::Builder::new()
.threadpool_builder(threadpool_builder)
.name_prefix("my-runtime-worker-")
.core_threads(THREAD_COUNT)
.build()
.unwrap();
fn sleep() -> Result<(), failure::Error> {
Expand Down

0 comments on commit 0f24377

Please sign in to comment.