about summary refs log tree commit diff
path: root/config/cable.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/cable.yml')
-rw-r--r--config/cable.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/cable.yml b/config/cable.yml
new file mode 100644
index 000000000..b544be4b4
--- /dev/null
+++ b/config/cable.yml
@@ -0,0 +1,9 @@
+development:
+  adapter: async
+
+test:
+  adapter: async
+
+production:
+  adapter: redis
+  url: redis://<%= ENV['REDIS_HOST'] || 'localhost' %>:<%= ENV['REDIS_PORT'] || 6379 %>/1