Skip to content

Commit 14fd0d6

Browse files
Use postgres adapter for ActionCable
An experiment to see if can work and maybe we can get rid of Redis in our infra.
1 parent fd5cce5 commit 14fd0d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

rails_application/config/cable.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
development:
2-
adapter: redis
3-
url: <%= ENV.fetch("REDIS_URL") %>
4-
channel_prefix: ecommerce_development
2+
adapter: postgresql
53

64
test:
75
adapter: async
86

97
production:
108
adapter: redis
11-
url: <%= ENV.fetch("REDIS_TLS_URL") %>
9+
url: <%= ENV.fetch("REDIS_URL") %>
1210
channel_prefix: ecommerce_production

0 commit comments

Comments
 (0)