Skip to content

Commit

Permalink
fix(camunda8): correctly parse autostart parameter of JobWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
jwulf committed Sep 27, 2024
1 parent be308b0 commit cb95946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c8/lib/CamundaJobWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class CamundaJobWorker<
currentload: this.currentlyActiveJobCount,
})
this.log.debug(`Created REST Job Worker`, this.logMeta())
if (config.autoStart) {
if (config.autoStart ?? true) {
this.start()
}
}
Expand Down

0 comments on commit cb95946

Please sign in to comment.