8fff2242ff
In the upstream of futures library, the DEFAULT value max_worker for ThreadPoolExecutor and ProcessPoolExecutor has been changed to: ThreadPoolExecutor max_worker = cpu_count() * 5 Reference: https://github.com/agronholm/pythonfutures/blob/master/concurrent/futures/thread.py#L109 ProcessPoolExecutor max_worker = cpu_count() Reference: https://github.com/agronholm/pythonfutures/blob/master/concurrent/futures/process.py#L278 So we should do it as well. Change-Id: Id68e38a639c41426f125180ad335fb1fb97cba59 Closes-bug: #1739034 |
||
---|---|---|
.. | ||
notes | ||
source |