Skip to content

Commit

Permalink
fix: provide key for schedule workers
Browse files Browse the repository at this point in the history
  • Loading branch information
jyecusch committed Dec 23, 2021
1 parent db2d17c commit a167339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/faas/v0/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export class Faas {
initRequest.setRoute(apiWorker);
} else if(this.options instanceof RateWorkerOptions) {
const scheduleWorker = new ScheduleWorker();
scheduleWorker.setKey(this.options.description)
const rate = new ScheduleRate();
rate.setRate(`${this.options.rate} ${this.options.frequency}`);
scheduleWorker.setRate(rate);
Expand Down

0 comments on commit a167339

Please sign in to comment.