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:
|
development:
|
||||||
adapter: async
|
adapter: postgresql
|
||||||
|
|
||||||
test:
|
test:
|
||||||
adapter: async
|
adapter: postgresql
|
||||||
|
|
||||||
|
staging:
|
||||||
|
adapter: postgresql
|
||||||
|
|
||||||
production:
|
production:
|
||||||
adapter: redis
|
adapter: postgresql # redis
|
||||||
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
# all other options below are only used for redis
|
||||||
channel_prefix: code_ocean_production
|
# url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
||||||
|
# channel_prefix: code_ocean_production
|
||||||
|
Reference in New Issue
Block a user