[issue35279] asyncio uses too many threads by default

Laurie Opperman report at bugs.python.org
Fri Apr 12 04:22:15 EDT 2019


Laurie Opperman <laurie_opperman at hotmail.com> added the comment:

What about making it dependant on memory as well as logical processor count:

`n_workers = min(RAM_GB / some_number, N_CORES * 5)`

----------
nosy: +Epic_Wink

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35279>
_______________________________________


More information about the Python-bugs-list mailing list