Skip to content

Fixes calculate num of cpu threads for HappyPack #10

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

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

thekiba
Copy link
Contributor

@thekiba thekiba commented Mar 5, 2019

HappyPack requires a positive integer for threads. And when the number of cpu is 1, it is calculated 1 - 1 = 0. Now a minimal value will be 1.

@kylecarbs
Copy link
Member

CI is broken for PRs, but this LGTM.

@kylecarbs kylecarbs merged commit 14ead1a into coder:master Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants