Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzheng committed Oct 1, 2023
1 parent da4ecc3 commit 23ad520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Plus built-in concurrency control to do multiple requests safely:
responses = await requests.get(['https://api.github.com'] * 2, auth=aiohttp.BasicAuth('user', 'password'))
print(responses) # [<ClientResponse(https://...) [200 OK]>, , <ClientResponse(https://...) [200 OK]>]
# It defaults to 10 concurrent requests. If you can handle more, then set it higher:
# It defaults to 10 concurrent requests maximum. If you can handle more, then set it higher:
requests.max_concurrency = 100
asyncio.run(main())
Expand Down

0 comments on commit 23ad520

Please sign in to comment.