Skip to content

Commit e10e3c7

Browse files
Merge pull request rails#26779 from javiercr/patch-1
Clarify default adapter in ActionCable guide [ci skip]
2 parents 454460e + 854a1be commit e10e3c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/source/action_cable_overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ WebNotificationsChannel.broadcast_to(
240240
```
241241

242242
The `WebNotificationsChannel.broadcast_to` call places a message in the current
243-
subscription adapter (Redis by default)'s pubsub queue under a separate
244-
broadcasting name for each user. For a user with an ID of 1, the broadcasting
245-
name would be `web_notifications:1`.
243+
subscription adapter (by default `redis` for production and `async` for development and
244+
test environments)'s pubsub queue under a separate broadcasting name for each user.
245+
For a user with an ID of 1, the broadcasting name would be `web_notifications:1`.
246246

247247
The channel has been instructed to stream everything that arrives at
248248
`web_notifications:1` directly to the client by invoking the `received`

0 commit comments

Comments
 (0)