Skip to content

Commit

Permalink
fix: Worker.work now uniquiets.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijoehosaphat committed Jul 16, 2024
1 parent e1d9509 commit c518ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export class Worker extends EventEmitter {
*/
async work(): Promise<Worker> {
debug("work concurrency=%i", this.concurrency);
this.quieted = false;
this.execute = createExecutionChain(this.middleware, this.registry);
await this.beat();
this.pulse = setInterval(async () => {
Expand Down

0 comments on commit c518ac7

Please sign in to comment.