1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/app/assets/javascripts/action_cable
Duncan Grazier 23e3e2bc2b ActionCable should not raise when a connection is already open
ActionCable was throwing a "Existing connection must be closed before
opening" exception which was being picked up as a production issue in
our error monitoring software. Since this happens pretty often on any
device that allows the browser to sleep (mobile) this error was getting
triggered often.

This change removes the exception, but keeps logging the occurrence. We
now return `false` to let the caller now that `open` failed.
2017-01-06 12:49:58 -05:00
..
connection.coffee ActionCable should not raise when a connection is already open 2017-01-06 12:49:58 -05:00
connection_monitor.coffee Defer starting connection monitor until a connection is opened 2016-03-03 20:23:20 -05:00
consumer.coffee Added protocol negotiation 2016-04-05 15:55:59 +02:00
subscription.coffee Added protocol negotiation 2016-04-05 15:55:59 +02:00
subscriptions.coffee Return subscription object(s) when updating the collection 2016-03-04 10:34:24 -05:00