heartbeat change

This commit is contained in:
ITOH
2021-04-15 14:25:26 +02:00
parent f5d6a85882
commit 2c97964f0f
5 changed files with 48 additions and 52 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Deno.test({
name: "[ws] Close all shards manually.",
async fn() {
ws.shards.forEach((shard) => {
clearTimeout(shard.heartbeat.timeoutId);
clearInterval(shard.heartbeat.intervalId);
shard.ws.close(3064, "Discordeno Testing Finished! Do Not RESUME!");
});