Skip to content

Commit

Permalink
fix: tcp limit
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev authored Mar 26, 2024
1 parent 26089f0 commit cbd31a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/legends/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

async def get_player_responses(keys: deque, tags: list[str]):
tasks = []
connector = aiohttp.TCPConnector(limit=1000, ttl_dns_cache=300)
connector = aiohttp.TCPConnector(limit=500, ttl_dns_cache=300)
timeout = aiohttp.ClientTimeout(total=1800)
session = aiohttp.ClientSession(connector=connector, timeout=timeout)
for tag in tags:
Expand Down

0 comments on commit cbd31a2

Please sign in to comment.