Skip to content

Commit

Permalink
Change connect semaphore limit
Browse files Browse the repository at this point in the history
  • Loading branch information
4Kaylum committed Jan 17, 2024
1 parent 956bd83 commit f59c404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novus/api/gateway/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def connect(
# Make some semaphores so we can control which shards connect
# simultaneously
identify_semaphore = asyncio.Semaphore(max_concurrency)
connect_semaphore = asyncio.Semaphore(1)
connect_semaphore = asyncio.Semaphore(30)

# Create shard objects
shard_ids = shard_ids or list(range(shard_count))
Expand Down

0 comments on commit f59c404

Please sign in to comment.