X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Ffixed.ts;h=5f067bd7fb4a716f20297f2c907c7632a9607a1b;hb=be55f2ca8b4792c645c4aaee38f0e3471a1efcb2;hp=68ae50050ba24d38ac1cd2b6119af626d248e9c6;hpb=dbfa7948a27653450e1eb30f4fd2127c16058101;p=poolifier.git diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index 68ae5005..5f067bd7 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -61,6 +61,7 @@ export class FixedClusterPool< /** @inheritDoc */ protected async destroyWorkerNode (workerNodeKey: number): Promise { + this.flagWorkerNodeAsNotReady(workerNodeKey) this.flushTasksQueue(workerNodeKey) // FIXME: wait for tasks to be finished const workerNode = this.workerNodes[workerNodeKey]