fix: use private close clode

This commit is contained in:
Skillz4Killz
2021-04-14 18:06:11 +00:00
committed by GitHub
parent 54ce040120
commit 70a4a1f955
3 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -11,6 +11,6 @@ export async function tellClusterToIdentify(
await ws.identify(shardId, ws.maxShards);
if (oldShard) {
oldShard.ws.close(4009, "Resharded!");
oldShard.ws.close(3065, "Resharded!");
}
}