-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ActiveJob
7.2 enqueue_after_transaction_commit
#79
Support ActiveJob
7.2 enqueue_after_transaction_commit
#79
Conversation
7dd998f
to
ca88e36
Compare
ActiveRecord
7.2 enqueue_after_transaction_commit
ActiveRecord
7.2 enqueue_after_transaction_commit
ActiveJob
7.2 enqueue_after_transaction_commit
4cf3cd6
to
5ddaac8
Compare
@@ -143,3 +145,5 @@ This, for example, makes Isolator compatible with Rails multi-database apps. | |||
[@Mange]: https://github.com/Mange | |||
[@tomgi]: https://github.com/tomgi | |||
[@tagirahmad]: https://github.com/tagirahmad | |||
[@arthurWD]: https://github.com/arthurWD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed in #77
5ddaac8
to
d50ea62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, check the question regarding the callback.
Also, I've fixed the CI problem with sqlite3 in master; could you please rebase?
aca583d
to
7eeba75
Compare
7eeba75
to
c91c351
Compare
c91c351
to
1a07957
Compare
Thanks! I'll take care of the mailer specs (looks like we need to cover both pre 7.2 and post 7.2 cases). |
What is the purpose of this pull request?
Ref: rails/rails#51426
Disables the throwing of
Isolator::BackgroundJobError
for jobs queued from within transactions if the newActiveJob
configenqueue_after_transaction_commit
is enabled.What changes did you make? (overview)
Updated the
active_job
adapter to be disabled ifenqueue_after_transaction_commit
is enabled globally or by the configured queue adapter.Is there anything you'd like reviewers to focus on?
Checklist