Skip to main content

All Questions

10 votes
2 answers
7k views

limit number of concurrent requests aiohttp

I'm downloading images using aiohttp, and was wondering if there is a way to limit the number of open requests that haven't finished. This is the code I currently have: async def get_images(url, ...
CaptainDriftwood's user avatar