Skip to content

Commit

Permalink
WIP: Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainmouquet committed Oct 2, 2024
1 parent cc66ec4 commit a31d4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_concurrency_limiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@pytest.mark.asyncio
async def test_concurrency_limiter():
@concurrency_limiter(max_concurrent=1)
@concurrency_limiter(max_concurrent=5)
async def fetch_data(id):
logger.info(f"Fetch data: {id}")
fetch_data.calls += 1 # type:ignore
Expand Down

0 comments on commit a31d4f7

Please sign in to comment.