From 952c6b565832dd0dbcef7a9a80edc871f79e15a8 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Mon, 30 Mar 2026 19:03:22 +0900 Subject: init --- config/cable.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config/cable.yml (limited to 'config/cable.yml') diff --git a/config/cable.yml b/config/cable.yml new file mode 100644 index 0000000..b9adc5a --- /dev/null +++ b/config/cable.yml @@ -0,0 +1,17 @@ +# 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. +development: + adapter: async + +test: + adapter: test + +production: + adapter: solid_cable + connects_to: + database: + writing: cable + polling_interval: 0.1.seconds + message_retention: 1.day -- cgit v1.2.3