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 best route selection #1903

Merged
merged 3 commits into from
May 2, 2024
Merged

Fix best route selection #1903

merged 3 commits into from
May 2, 2024

Conversation

pascal-fischer
Copy link
Collaborator

Describe your changes

This PR fixes the best route selection process when comparing the current selected route to the newly chosen one where the worse route has been kept. Additionally, this PR decreases the threshold in latency needed for a new route to be considered better (the threshold is used to avoid frequently alternating routes due to similar latency, this way archiving connection stability).

Issue ticket number and link

#1902

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

@mlsmaycon mlsmaycon merged commit 35dd991 into main May 2, 2024
16 checks passed
@mlsmaycon mlsmaycon deleted the fix/latency-based-routing branch May 2, 2024 09:51
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.

None yet

2 participants