Configuration for action cable for postgreSQL?
Asked Answered
O

1

9

How will the configuration file, config/cable.yml look like for a postgreSQL adapter?

Odellodella answered 19/9, 2016 at 11:0 Comment(0)
M
13

This is working for me:

# config/cable.yml
production:
  adapter: postgresql

development:
  adapter: postgresql

test:
  adapter: postgresql

The postgresql adapter uses the pg notify command. Keep in mind that the message body must be smaller than 8000 bytes.

Munificent answered 11/10, 2016 at 15:11 Comment(1)
This is because of: edgeguides.rubyonrails.org/…Boddie

© 2022 - 2024 — McMap. All rights reserved.