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

Feature/auto reconnect #411

Merged
merged 5 commits into from
Feb 21, 2024
Merged

Feature/auto reconnect #411

merged 5 commits into from
Feb 21, 2024

Conversation

Mindgamesnl
Copy link
Owner

Implement connection recovery between the plugin and our infrastructure, for client events and the voicechat bus.

Before this PR, all clients would be forcefully kicked if either of those two connections were lost, which could happen for several reasons. However, with this new feature, the plugin will queue important packets to sync back up when the connection is re-established.

This also goes hand-in-hand with some major backend changes, to allow for the new connection type and to "freeze" clients that are waiting for the server to reconnect. (this is a grace period, clients will still be closed if the server does not reappear within a reasonable amount of time.)

image

Copy link

cloudflare-workers-and-pages bot commented Feb 21, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3599122
Status: ✅  Deploy successful!
Preview URL: https://4209e59b.openaudiomc.pages.dev
Branch Preview URL: https://feature-auto-reconnect.openaudiomc.pages.dev

View logs

@Mindgamesnl Mindgamesnl merged commit 201e423 into development Feb 21, 2024
3 checks passed
@Mindgamesnl Mindgamesnl deleted the feature/auto-reconnect branch February 21, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant