ved*_*ant 6 ruby-on-rails-5 actioncable
如何配置文件,config/cable.yml看起来像postgreSQL适配器?
这对我有用:
# config/cable.yml
production:
adapter: postgresql
development:
adapter: postgresql
test:
adapter: postgresql
Run Code Online (Sandbox Code Playgroud)
postgresql适配器使用pg notify命令.请记住,消息正文必须小于8000字节.
| 归档时间: |
|
| 查看次数: |
1573 次 |
| 最近记录: |