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

Implement losing wss solution #220

Closed
LeadcodeDev opened this issue Dec 10, 2024 · 0 comments · Fixed by #221
Closed

Implement losing wss solution #220

LeadcodeDev opened this issue Dec 10, 2024 · 0 comments · Fixed by #221
Assignees
Labels
enhancement New feature or request

Comments

@LeadcodeDev
Copy link
Member

Context

Loss of connection between Discord's WSS and Mineral's Core WSS for no good reason. The aim is to detect any loss of connection and remedy the problem.

Proposal

Set up a periodic timer to make a request (ping) between the discord WSS and the mineral WSS at the following intervals: 15s, 30s, 60s, 120s (the intervals will increase with each missed attempt). If no reconnection is made after these attempts, close the mineral WSS and restart it from scratch.

Image

@LeadcodeDev LeadcodeDev self-assigned this Dec 10, 2024
@LeadcodeDev LeadcodeDev converted this from a draft issue Dec 10, 2024
@LeadcodeDev LeadcodeDev added the enhancement New feature or request label Dec 10, 2024
@LeadcodeDev LeadcodeDev linked a pull request Dec 10, 2024 that will close this issue
@PandaGuerrier PandaGuerrier moved this from Work In Progress to Code Review in Roadmap Dec 14, 2024
@PandaGuerrier PandaGuerrier moved this from Code Review to Done in Roadmap Dec 14, 2024
@PandaGuerrier PandaGuerrier closed this as completed by moving to Done in Roadmap Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
2 participants