ActionCable Not Receiving Data

后端 未结 1 608
深忆病人
深忆病人 2021-02-05 05:42

I created the following using ActionCable but not able to receive any data that is being broadcasted.

Comments Channel:

class CommentsCh         


        
相关标签:
1条回答
  • 2021-02-05 05:51

    Changing the cable adapter from async to redis in config/cable.yml fixed it for me. Not sure why async was not working.

    0 讨论(0)
提交回复
热议问题