Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
update-types:
- 'minor'
- 'patch'
+ commitlint:
+ patterns:
+ - '@commitlint/*'
labels:
- 'dependencies'
reviewers:
},
"javascript": {
"formatter": {
+ "arrowParentheses": "asNeeded",
"quoteStyle": "single",
- "trailingCommas": "es5",
"semicolons": "asNeeded",
- "arrowParentheses": "asNeeded"
+ "trailingCommas": "es5"
}
},
"json": {
workerNode.info.dynamic = true
if (
this.workerChoiceStrategiesContext?.getPolicy().dynamicWorkerReady ===
- true ||
- this.workerChoiceStrategiesContext?.getPolicy().dynamicWorkerUsage ===
- true
+ true
) {
workerNode.info.ready = true
}
// FIXME: cannot be theoretically undefined. Schedule in the next tick to avoid race conditions?
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
workerNode?.emit('taskFinished', taskId)
+ if (this.shallCreateDynamicWorker()) {
+ this.createAndSetupDynamicWorkerNode()
+ }
}
}