2020-09-15 13:55:43 -04:00
|
|
|
* The Action Cable client now includes safeguards to prevent a "thundering
|
|
|
|
herd" of client reconnects after server connectivity loss:
|
2020-11-02 16:12:47 -05:00
|
|
|
|
2020-09-15 13:55:43 -04:00
|
|
|
* The client will wait a random amount between 1x and 3x of the stale
|
|
|
|
threshold after the server's last ping before making the first
|
|
|
|
reconnection attempt.
|
|
|
|
* Subsequent reconnection attempts now use exponential backoff instead of
|
|
|
|
logarithmic backoff. To allow the delay between reconnection attempts to
|
|
|
|
increase slowly at first, the default exponentiation base is < 2.
|
|
|
|
* Random jitter is applied to each delay between reconnection attempts.
|
|
|
|
|
|
|
|
*Jonathan Hefner*
|
2020-03-20 13:35:10 -04:00
|
|
|
|
2020-12-02 18:37:26 -05:00
|
|
|
Please check [6-1-stable](https://github.com/rails/rails/blob/6-1-stable/actioncable/CHANGELOG.md) for previous changes.
|