This commit is contained in:
ITOH
2021-04-15 18:06:31 +02:00
parent 6a6acf2d6c
commit 98bf292aff
27 changed files with 94 additions and 141 deletions
+2 -2
View File
@@ -3,9 +3,9 @@ import { ws } from "./ws.ts";
/** Allows users to hook in and change to communicate to different clusters across different servers or anything they like. For example using redis pubsub to talk to other servers. */
export async function tellClusterToIdentify(
workerId: number,
_workerId: number,
shardId: number,
bucketId: number,
_bucketId: number,
) {
// When resharding this may exist already
const oldShard = ws.shards.get(shardId);