Skip to content
  • Dan Spinosa's avatar
    6d7c1227
    Client ensures subscribe command is confirmed. (#41581) · 6d7c1227
    Dan Spinosa authored
    A SubscriptionGuarantor maintains a set of pending subscriptions,
    resending the subscribe command unless and until the subscription
    is confirmed or rejected by the server or cancelled client-side.
    
    A race condition in the ActionCable server - where an unsubscribe
    is sent, followed rapidly by a subscribe, but handled in the reverse
    order - necessitates this enhancement.  Indeed, the subscriptions created
    and torn down by Turbo Streams amplifies the existence of this race
    condition.
    6d7c1227
    Client ensures subscribe command is confirmed. (#41581)
    Dan Spinosa authored
    A SubscriptionGuarantor maintains a set of pending subscriptions,
    resending the subscribe command unless and until the subscription
    is confirmed or rejected by the server or cancelled client-side.
    
    A race condition in the ActionCable server - where an unsubscribe
    is sent, followed rapidly by a subscribe, but handled in the reverse
    order - necessitates this enhancement.  Indeed, the subscriptions created
    and torn down by Turbo Streams amplifies the existence of this race
    condition.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading