X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fcluster-worker.ts;h=180a5273f464cfee65f5a4b0d6d4f1a8032200fc;hb=7ae6fb74fef4b3a2491d3d56293914fe5243c0d2;hp=16dddd2969bd50193c4fb43e762d607f08f4ca08;hpb=bb4e9c3d36509745767905e4577d000087a23288;p=poolifier.git diff --git a/src/worker/cluster-worker.ts b/src/worker/cluster-worker.ts index 16dddd29..180a5273 100644 --- a/src/worker/cluster-worker.ts +++ b/src/worker/cluster-worker.ts @@ -41,9 +41,6 @@ export class ClusterWorker< cluster.worker as Worker, opts ) - if (!this.isMain) { - this.sendToMainWorker({ workerId: this.id, started: true }) - } } /** @inheritDoc */ @@ -53,7 +50,6 @@ export class ClusterWorker< /** @inheritDoc */ protected sendToMainWorker (message: MessageValue): void { - console.log('sending message to main worker(cluster)', message) this.getMainWorker().send(message) }