Message320585
| Author | vstinner |
|---|---|
| Recipients | Python++, asvetlov, pablogsal, terry.reedy, vstinner, yselivanov |
| Date | 2018-06-27.14:30:08 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1530109808.08.0.56676864532.issue33823@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The first argument of ProcessPoolExecutor is the maximum number of workers. You can use os.cpu_count() to get the number of CPU cores. https://docs.python.org/dev/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor I don't see anything wrong here, I close the issue. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-06-27 14:30:08 | vstinner | set | recipients: + vstinner, terry.reedy, asvetlov, yselivanov, pablogsal, Python++ |
| 2018-06-27 14:30:08 | vstinner | set | messageid: <1530109808.08.0.56676864532.issue33823@psf.upfronthosting.co.za> |
| 2018-06-27 14:30:08 | vstinner | link | issue33823 messages |
| 2018-06-27 14:30:08 | vstinner | create | |