Skip to content
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

Addressing workaround for RTN20c #1898

Merged
merged 4 commits into from
Apr 10, 2024
Merged

Addressing workaround for RTN20c #1898

merged 4 commits into from
Apr 10, 2024

Conversation

maratal
Copy link
Collaborator

@maratal maratal commented Mar 31, 2024

Closes #1713

This PR reverts the work from this PR and the fix for it from this PR.

The idea is to ignore the first report of reachability with status "reachable" since it's not needed¹ - if the host is reachable, then the connection will proceed as expected. If the first call reports the host as "unreachable", then the realtime will fall into disconnected/suspended. And when the system will again report the host as reachable, then this call will not be ignored since the previous one was "unreachable" (in oppose to the first call where the previous one is "unknown").

¹ - the system always calls reachability callback immediately after the callback is set by the user (to initialize the user's state).

…CONNECTING, reachability now activated after token request is complited. During token request user will receive the request error in case of unreachable network."

This reverts commit 3eac846.
@github-actions github-actions bot temporarily deployed to staging/pull/1898/features March 31, 2024 22:23 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1898/jazzydoc March 31, 2024 22:26 Inactive
Copy link
Contributor

@umair-ably umair-ably left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maratal maratal merged commit 2f6cc1e into main Apr 10, 2024
7 checks passed
@maratal maratal deleted the fix/1713-remove-workaround branch April 10, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Address workaround for RTN20c
2 participants