-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also clear unique_key when should_cancel (#560)
While doing some work on a related query, I noticed that the `unique_key` is being cleared here specifically if the new state is explicitly `cancelled`, but _not_ if the state is being set to cancel because of a cancellation attempt that didn't get picked up before the job completed. I didn't yet add test coverage for this but wanted to at least commit it before I forgot.
- Loading branch information
Showing
3 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
riverdriver/riverdatabasesql/internal/dbsqlc/river_job.sql.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.