Skip to content

Commit

Permalink
Reduce concurrent requests in test_gather() to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Oct 3, 2023
1 parent bf21e5b commit 9144f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/base_backend_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def test_gather(self):
# problems with too many open files when using a FileBackend
sem = asyncio.Semaphore(100)

urls = [httpbin(f'get?page={i}') for i in range(1000)]
urls = [httpbin(f'get?page={i}') for i in range(500)]

async def get_url(mysession, url):
async with sem:
Expand Down

0 comments on commit 9144f90

Please sign in to comment.