1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Mike Perham 2022-05-06 14:15:19 -07:00
parent 994a4fa216
commit f58cd04cd3

View file

@ -5,13 +5,16 @@
HEAD HEAD
--------- ---------
- Add beta support for transaction-aware client [#5291] - Add **beta** support for DB transaction-aware client [#5291]
Add this line to your initializer and any jobs created during a transaction Add this line to your initializer and any jobs created during a transaction
will only be pushed to Redis **after the transaction commits**. You will need to add the will only be pushed to Redis **after the transaction commits**. You will need to add the
`after_commit_everywhere` gem to your Gemfile. `after_commit_everywhere` gem to your Gemfile.
```ruby ```ruby
Sidekiq.transactional_push! Sidekiq.transactional_push!
``` ```
This feature is still beta quality; please try it out and let us know if you
have any issues. It will be fully supported in Sidekiq 7.0 or removed if it
proves problematic.
- Fix regression with middleware arguments [#5312] - Fix regression with middleware arguments [#5312]