Update enqueue_after_transaction_commit changelog [ci-skip]

The config option accepts `:never`, `:always` and `:default`.
This commit is contained in:
Petrik 2024-04-05 21:25:13 +02:00
parent d4c40b6cf9
commit 52f37c4d81

@ -14,12 +14,12 @@
Now Active Job will automatically defer the enqueuing to after the transaction is committed,
and drop the job if the transaction is rolled back.
Various queue implementations can chose to disable this behavior, and users can disable it,
Various queue implementations can choose to disable this behavior, and users can disable it,
or force it on a per job basis:
```ruby
class NewTopicNotificationJob < ApplicationJob
self.enqueue_after_transaction_commit = false # or `true`
self.enqueue_after_transaction_commit = :never # or `:always` or `:default`
end
```