Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
type: getWorkerType(worker)!,
dynamic: false,
ready: false,
- backPressure: false,
- stealing: false
+ stealing: false,
+ backPressure: false
}
}
type: WorkerTypes.cluster,
dynamic: false,
ready: true,
- backPressure: false,
- stealing: false
+ stealing: false,
+ backPressure: false
})
}
await pool.destroy()
type: WorkerTypes.thread,
dynamic: false,
ready: true,
- backPressure: false,
- stealing: false
+ stealing: false,
+ backPressure: false
})
}
await pool.destroy()
type: WorkerTypes.thread,
dynamic: false,
ready: false,
- backPressure: false,
- stealing: false
+ stealing: false,
+ backPressure: false
})
expect(threadWorkerNode.usage).toStrictEqual({
tasks: {
type: WorkerTypes.cluster,
dynamic: false,
ready: false,
- backPressure: false,
- stealing: false
+ stealing: false,
+ backPressure: false
})
expect(clusterWorkerNode.usage).toStrictEqual({
tasks: {