Skip to content

Commit

Permalink
Use postgres adapter for ActionCable
Browse files Browse the repository at this point in the history
An experiment to see if can work and maybe we can get rid of Redis in our infra.
  • Loading branch information
andrzejkrzywda committed Nov 4, 2024
1 parent fd5cce5 commit 14fd0d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rails_application/config/cable.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
development:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") %>
channel_prefix: ecommerce_development
adapter: postgresql

test:
adapter: async

production:
adapter: redis
url: <%= ENV.fetch("REDIS_TLS_URL") %>
url: <%= ENV.fetch("REDIS_URL") %>
channel_prefix: ecommerce_production

0 comments on commit 14fd0d6

Please sign in to comment.