mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix(gateway): debug events that seems to trigger in bun
This commit is contained in:
parent
cc2697a99c
commit
38cf6d79f6
@ -5,7 +5,7 @@ export async function identify(shard: Shard): Promise<void> {
|
||||
// A new identify has been requested even though there is already a connection open.
|
||||
// Therefore we need to close the old connection and heartbeating before creating a new one.
|
||||
if (shard.state === ShardState.Connected) {
|
||||
console.log("CLOSING EXISTING SHARD: #" + shard.id);
|
||||
// console.log("CLOSING EXISTING SHARD: #" + shard.id);
|
||||
shard.close(ShardSocketCloseCodes.ReIdentifying, "Re-identifying closure of old connection.");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user