-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return last Solid Queue job when there are several with the same Acti…
…ve Job ID This applies in the case of automatic retries performed by Active Job's retrying mechanism. In that case, the failing job finishes just fine, the exception is retried and Active Job re-enqueues the job, so for Solid Queue, these look like different jobs with the same Active Job ID. Normally we'd be interested in the last one only, though, so just return that. In the future perhaps we can find a way to return all the instances if there are more.
- Loading branch information
Showing
2 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
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
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