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 |
||
---|---|---|
doc/source | ||
futurist | ||
releasenotes | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Futurist
Code from the future, delivered to you in the now. The goal of this library would be to provide a well documented futures classes/utilities/additions that allows for providing a level of transparency in how asynchronous work gets executed. This library currently adds statistics gathering, an eventlet executor, a synchronous executor etc.
- Free software: Apache license
- Documentation: https://docs.openstack.org/futurist/latest/
- Source: https://git.openstack.org/cgit/openstack/futurist
- Bugs: https://bugs.launchpad.net/futurist