Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make number of Pools configurable #27

Closed
ashleygwilliams opened this issue Oct 15, 2017 · 1 comment · Fixed by #79
Closed

make number of Pools configurable #27

ashleygwilliams opened this issue Oct 15, 2017 · 1 comment · Fixed by #79

Comments

@ashleygwilliams
Copy link
Collaborator

currently hardcoded at 4.

let mut pool = Pool::new(4);

not urgent but nice to have

@gsquire
Copy link
Contributor

gsquire commented Oct 18, 2017

Might it be beneficial to use the num_cpus crate? If so I can send a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants