bpo-32986: multiprocessing: change default pool size to look for NCPUS envvar be…#5959
bpo-32986: multiprocessing: change default pool size to look for NCPUS envvar be…#5959mj-harvey wants to merge 2 commits intopython:masterfrom
Conversation
…fore assuming os.cpu_count()
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
|
Have signed CLA now, hopefully bot will notice. |
|
@mj-harvey, thank you for the pull request. The discussion and decision on the bug tracker seems to have gone in a different direction instead of using NCPUS. I'm going to close this PR as being outdated based on that discussion. It would be best to create a new PR for those suggestions. |
bpo-32986 multiprocessing: change default pool size determination
bpo-32986 : change multiprocessing's default Pool size determination to check for value of "NCPUS" environment variable before falling back to os.cpu_count()
https://bugs.python.org/issue32986