dawarich/config/cable.yml

22 lines
582 B
YAML
Raw Normal View History

2025-05-17 17:05:52 -04:00
# Async adapter only works within the same process, so for manually triggering cable updates from a console,
# and seeing results in the browser, you must do so from the web console (running inside the dev process),
# not a terminal started via bin/rails console! Add "console" to any action or any ERB template view
# to make the web console appear.
2025-05-31 15:58:50 -04:00
default: &default
2025-05-31 15:27:20 -04:00
adapter: solid_cable
connects_to:
database:
writing: cable
polling_interval: 0.1.seconds
message_retention: 1.day
2025-05-31 15:58:50 -04:00
development:
<<: *default
test:
adapter: test
production:
2025-05-31 15:58:50 -04:00
<<: *default