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

Fix unused servers cleanup #2826

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Fix unused servers cleanup #2826

merged 1 commit into from
Nov 1, 2024

Conversation

pappz
Copy link
Contributor

@pappz pappz commented Nov 1, 2024

Describe your changes

The cleanup loop did not manage those situations well when a connection failed or
the connection success but the code did not add a peer connection to it yet.

  • in the cleanup loop check if a connection failed to a server
  • after adding a foreign server connection force to keep it a minimum 5 sec

Issue ticket number and link

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

- in cleanup loop check if a connection
failed to a server
- after add a foreign server connection
force to keep it minimum 5 sec
Copy link

sonarcloud bot commented Nov 1, 2024

@pappz pappz marked this pull request as ready for review November 1, 2024 10:11
@mlsmaycon mlsmaycon merged commit 0eb99c2 into main Nov 1, 2024
21 checks passed
@mlsmaycon mlsmaycon deleted the relay/fix-servers-cleanup branch November 1, 2024 11:33
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.

3 participants