Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mononoke: use logical number of cpus in our runtime
Summary: We are using older version of tokio which spawns as many threads as we have physical cores instead of the number of logical cores. It was fixed in tokio-rs/tokio#2269 but we can't use it yet because we are waiting for another fix to be released - rust-lang/futures-rs#2154. For now let's hardcode it in mononoke Reviewed By: krallin Differential Revision: D23599140 fbshipit-source-id: 80685651a7a29ba8938d9aa59770f191f7c42b8b
- Loading branch information