Author yselivanov
Recipients aeros, asvetlov, primal, yselivanov
Date 2019-11-02.01:16:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572657405.46.0.488393675269.issue32309@roundup.psfhosted.org>
In-reply-to
Content
>> 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.
History
Date User Action Args
2019-11-02 01:16:45yselivanovsetrecipients: + yselivanov, asvetlov, primal, aeros
2019-11-02 01:16:45yselivanovsetmessageid: <1572657405.46.0.488393675269.issue32309@roundup.psfhosted.org>
2019-11-02 01:16:45yselivanovlinkissue32309 messages
2019-11-02 01:16:45yselivanovcreate