Switch to postgres adapter for ActionCable

With using postgres, we remove the need of introducing a redis store
This commit is contained in:
Sebastian Serth
2019-03-12 09:40:13 +01:00
parent 7f1a7fbaa0
commit 016526240d

View File

@ -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