set the number of workers to # of cores
Merge pull request #7439 from bbodenmiller/patch-6

set the number of workers to # of cores