Skip to content

Fixes calculate num of cpu threads for HappyPack - #10

Merged
kylecarbs merged 1 commit into
coder:masterfrom
thekiba:patch-2
Mar 5, 2019
Merged

kylecarbs merged 1 commit into
coder:masterfrom
thekiba:patch-2

Conversation

@thekiba

@thekiba thekiba commented Mar 5, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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