Skip to content

Commit 36e2e52

Browse files
committed
Change the suggestion about adapters and enqueue_after_transaction_commit
Solid Queue will set this to `:always` by default so the comment could be confusing for people using it with the same DB as the app. See rails/solid_queue#212 (comment)
1 parent 36a4edc commit 36e2e52

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)