Switch to postgres adapter for ActionCable
With using postgres, we remove the need of introducing a redis store
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user