From 016526240d38ece4a5cdb6b52e620e104fe6df32 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 12 Mar 2019 09:40:13 +0100 Subject: [PATCH] Switch to postgres adapter for ActionCable With using postgres, we remove the need of introducing a redis store --- config/cable.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/config/cable.yml b/config/cable.yml index 1060cbe2..19ab2a85 100644 --- a/config/cable.yml +++ b/config/cable.yml @@ -1,10 +1,14 @@ development: - adapter: async + adapter: postgresql test: - adapter: async + adapter: postgresql + +staging: + adapter: postgresql production: - adapter: redis - url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> - channel_prefix: code_ocean_production + adapter: postgresql # redis + # all other options below are only used for redis + # url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> + # channel_prefix: code_ocean_production