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

Allow ComputerCraft to reconnect to the same session using a token #21

Merged
merged 9 commits into from
May 16, 2024

Conversation

fechan
Copy link
Owner

@fechan fechan commented May 16, 2024

Previously if CC disconnects from the relay server, the editor gets disconnected and you have to manually start a new session, which is a huge problem if the connection between CC and the editor server is unstable.

Now if CC disconnects, it can reconnect using a session token created when it created the session. If the editor tries to send messages to CC while it's disconnected, CC has 10 seconds to reconnect before the editor is booted.

@fechan fechan merged commit be38fac into master May 16, 2024
1 check passed
@fechan fechan deleted the reconnection branch June 7, 2024 04:20
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