fix: omg still some left

This commit is contained in:
Skillz4Killz
2022-05-08 14:06:29 +00:00
committed by GitHub
parent 7cddb7cd38
commit a882f58176
2 changed files with 32 additions and 47 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export async function handleOnMessage(gateway: GatewayManager, message: any, sha
if (typeof message !== "string") return;
const shard = gateway.shards.get(shardId);
if (shard) {
// Edge case for big bots when too many events that 45 seconds are not enough for receving the heartbeat ack. As long as we are receving events no point in closing a connection.
shard.heartbeat.acknowledged = true;