Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Recreating Connector on every request is a little expensive.
ClientSession allows connection utilization, it also supports keep-alives out-of-the box.
Unfortunately I see many examples of bare coroutines usage -- people are lazy :(
The text was updated successfully, but these errors were encountered:
Hi Andrew! IMHO most people will follow the basic examples without reading everything. Upper half of http://aiohttp.readthedocs.org/en/stable/client.html does not mention connectors.
Then again, people who care for performance are probably also the ones who do read the reference doc.
Sorry, something went wrong.
Would you update docs to emphasize ClientSession usage?
Fixed by e194ede and e8b47f7
Change from aiohttp.get to aiohttp.ClientSession. (see aio-libs/aioht…
…tp#729 and Rapptz/discord.py#99)
Let's stop being deprecated
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.
Successfully merging a pull request may close this issue.