Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Gruenfelder committed Oct 21, 2024
1 parent 631f19b commit 43ba94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventQueueProcessorBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ class EventQueueProcessorBase {
const newEvent = {
type: this.#eventType,
subType: this.#eventSubType,
startAfter: this.#eventConfig.cron ? next : new Date(new Date(queueEntry.startAfter).getTime() + intervalInMs),
startAfter: next ?? new Date(new Date(queueEntry.startAfter).getTime() + intervalInMs),
};
const { relative } = this.#eventSchedulerInstance.calculateOffset(
this.#eventType,
Expand Down

0 comments on commit 43ba94e

Please sign in to comment.