Skip to content

Periodic job next_run_at advances on insert failure — missing return after error log - #1348

Open
tsushanth wants to merge 1 commit into
riverqueue:masterfrom
tsushanth:fix/Periodic-job-next-run-at-advances-on-ins-1786208778
Open

Periodic job next_run_at advances on insert failure — missing return after error log#1348
tsushanth wants to merge 1 commit into
riverqueue:masterfrom
tsushanth:fix/Periodic-job-next-run-at-advances-on-ins-1786208778

Conversation

@tsushanth

Copy link
Copy Markdown
Contributor

Add return after insert-error log in insertBatch to prevent PeriodicJobUpsertMany from advancing next_run_at when job insertion fails

Found via automated repo scanning, fix written and reviewed before opening.

@brandur brandur left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Do you want to add a short changelog entry for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants