Message355855
>> 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. | |
| Date | User | Action | Args | | 2019-11-02 01:16:45 | yselivanov | set | recipients: + yselivanov, asvetlov, primal, aeros | | 2019-11-02 01:16:45 | yselivanov | set | messageid: <1572657405.46.0.488393675269.issue32309@roundup.psfhosted.org> | | 2019-11-02 01:16:45 | yselivanov | link | issue32309 messages | | 2019-11-02 01:16:45 | yselivanov | create | | |