Open averyanalex opened 8 months ago
This also fixed OSError: [WinError 121] The semaphore timeout period has expired
error in my program that sends 100 requests at the same time.
@averyanalex, hi! Oh, this is a serious update that will entail a major change in the code for users. I'll think about how this can be done better...
@averyanalex, hi! Oh, this is a serious update that will entail a major change in the code for users. I'll think about how this can be done better...
My friend told me that .stop()
is not the best way. It maybe can be done more correctly with context manager. Sorry for my english.
From aiohttp docs:
Thus, using the same ClientSession can speed up execution of multiple requests in a row.