1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/CHANGELOG.md
Zhang Kang 96b74fe433 Introduce ActionCable::Channel#stop_stream_from/for to unsubscribe specific streams (#37171)
* Like `ActionCable::Channel#stop_all_streams`, but for specific streams
2020-01-17 13:39:06 -08:00

787 B

  • Add ActionCable::Channel#stop_stream_from and #stop_stream_for to unsubscribe from a specific stream.

    Zhang Kang

  • Add PostgreSQL subscription connection identificator.

    Now you can distinguish Action Cable PostgreSQL subscription connections among others. Also, you can set custom id in cable.yml configuration.

    SELECT application_name FROM pg_stat_activity;
    /*
        application_name
    ------------------------
    psql
    ActionCable-PID-42
    (2 rows)
    */
    

    Sergey Ponomarev

  • Subscription confirmations and rejections are now logged at the DEBUG level instead of INFO.

    DHH

Please check 6-0-stable for previous changes.