X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=69940f960600afe815cbe540d33f5547e242ed19;hb=90d7d101196cf9702ccc1d220dd33cca67a427b0;hp=e208eb4063656dccf1ed25a8c12463c6de1302e5;hpb=9edb9717ae4c1c86bd7d28553eaa1ef141fc133b;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index e208eb40..69940f96 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -59,6 +59,7 @@ export class ThreadWorker< ) { this.port = message.port this.port.on('message', this.messageListener.bind(this)) + this.sendTaskFunctionsListToMainWorker() this.sendToMainWorker({ ready: true, workerId: this.id }) } }