Yury Selivanov <yseliva...@gmail.com> added the comment:
>> async with asyncio.ThreadPool(concurrency=10) as pool: > I'm definitely on board with the usage of an async context manager and the > functionality shown in the example, but I'm not sure that I entirely > understand what the "concurrency" kwarg in "concurrency=10" is supposed to > represent in this case. Could you elaborate on what that would do > functionally? Number of OS threads to spawn. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32309> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com