Skip to content

Commit d8d5554

Browse files
authored
Merge pull request rails#52659 from rosa/suggestion-for-db-adapters-for-enqueue_after_transaction_commit
Change the suggestion about adapters and `enqueue_after_transaction_commit`
2 parents 48a3bf4 + 36e2e52 commit d8d5554

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

guides/source/configuring.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2845,8 +2845,7 @@ It can be set to:
28452845
* `:always` - Always defer the enqueue.
28462846
* `:default` - Let the queue adapter define the behaviour.
28472847
2848-
Active Job backends that use the same database as Active Record as a queue,
2849-
should generally prevent the deferring, and others should allow it.
2848+
Each Active Job backend defines its own default behaviour for this, with some adapters preventing the deferring and others allowing it, so make sure to check that as well if you're opting for `:default`.
28502849

28512850
Example:
28522851

0 commit comments

Comments
 (0)