X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpools%2Fabstract-pool.ts;h=604c7af8ad32dde3959dcb75166427458999c9f7;hb=16ce27f3d5276072eb9f4633dd70c1e46ba6a868;hp=1140ca1b4c289e6a31057528d88c6b7e638ae144;hpb=d91689fda0fa7a85014ac25276cf2cf0a9d81ce2;p=poolifier.git diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 1140ca1b..604c7af8 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1540,13 +1540,6 @@ export abstract class AbstractPool< const workerInfo = this.getWorkerInfo( this.getWorkerNodeKeyByWorkerId(message.workerId) ) - if (!this.started && workerInfo.ready) { - throw new Error( - `Ready response already received by worker ${ - message.workerId as number - }` - ) - } workerInfo.ready = message.ready as boolean workerInfo.taskFunctionNames = message.taskFunctionNames if (this.ready) {