From 0afeb9f7ced3e6dc76adb881bf3bed2c0efdf69d Mon Sep 17 00:00:00 2001 From: Kae Bartlett Date: Thu, 18 Jan 2024 04:31:32 +0000 Subject: [PATCH] Allow 100 connects at once --- novus/api/gateway/gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novus/api/gateway/gateway.py b/novus/api/gateway/gateway.py index 67a522d2..c352e1de 100644 --- a/novus/api/gateway/gateway.py +++ b/novus/api/gateway/gateway.py @@ -145,7 +145,7 @@ async def connect( # Make some semaphores so we can control which shards connect # simultaneously identify_semaphore = LoggingSemaphore(max_concurrency) - connect_semaphore = LoggingSemaphore(max_concurrency) + connect_semaphore = LoggingSemaphore(100) # Create shard objects shard_ids = shard_ids or list(range(shard_count))