-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CHA-RL4b7][Room monitoring] Delayed RoomStatus transition to ATTACHING
#436
Comments
ATTACHING
after 5 secondsATTACHING
Associated Problems:
ably-chat-js/src/core/room-lifecycle-manager.ts Lines 277 to 293 in 6d1b04a
Proposed Solution:
|
If I'm understanding you correctly - the inclusion of this timer was by design. If the library temporarily goes from Now, if we emit
Not quite - RTL3d is when connection goes to |
I strongly disagree : (
|
|
|
I don't think we should be potentially passing complexity onto users just because it requires more careful handling internally - surely the idea is that we take on the complexity and deal with it once so that users don't have to? At the time of conception, CHA-RL9 wasn't a thing (which appreciate changes things), and this was the least-work-for-users approach at the time.
That's why the timeout is "transient" - its short enough that not receiving a couple of messages in that period won't be seen as a bug.
I agree that CHA-RL9 changes things and that we should look into it. My personal thought is that this shouldn't block the beta releases as this is an edge case, but is something we should address going forwards.
Yes - we added CHA-RL9 later on and have a ticket to conform to it at a later date (it's just not the highest priority at the moment). |
Thanks for the response. Though, I didn't mean what you exactly meant by
It's just a normal |
Also as per spec CHA-RS1g, we made clear that users only need to deal with |
If a room lifecycle operation is not in progress and the channel state is ATTACHING and no transient disconnect timeout exists for the contributor, then a transient disconnect timeout with a 5 second limit is created for the contributor. Upon timeout, the room status is transitioned to ATTACHING, using the reason from the initial channel state change as the error for the transition
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: