diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-05-07 15:57:33 +0200 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-05-07 21:48:50 +0200 |
commit | 52d131826e46d1a4606b71ddbf57db0f75f040e0 (patch) | |
tree | be507d4c0fa5f2dfc0dcba6210099d7d1b75f6bf /activejob/CHANGELOG.md | |
parent | d84bfaa8530e42188f0361efb5a61c73948192e6 (diff) | |
download | rails-52d131826e46d1a4606b71ddbf57db0f75f040e0.tar.gz rails-52d131826e46d1a4606b71ddbf57db0f75f040e0.tar.bz2 rails-52d131826e46d1a4606b71ddbf57db0f75f040e0.zip |
Let Sidekiq set provider_job_id
When a job is added to Sidekiq by ActiveJob, make sure we still can get the
original job_id provider by Sidekiq. We do this by adding the sidekiq jid to
provider_job_id field on the job object.
Partly fixes #18821
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Diffstat (limited to 'activejob/CHANGELOG.md')
-rw-r--r-- | activejob/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 6f9aa76a1f..9c5806a4db 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,3 +1,8 @@ +* Allow `Sidekiq` to report the job id back to `ActiveJob::Base` as + `provider_job_id` + + *Jeroen van Baarsen* + * Allow `DelayedJob` to report id back to `ActiveJob::Base` as `provider_job_id`. |