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

Add checks for not repeating actions, clean debug #25

Merged
merged 1 commit into from Feb 19, 2024

Conversation

LaakkonenJussi
Copy link
Contributor

@LaakkonenJussi LaakkonenJussi commented Feb 15, 2024

Do the default route update only when there are changes in the service cache. This prevents doing unnecessary list traversals when there are no updates or when the default route is kept as the same.

Also drop out from the services cache traversal when first not connected service is encountered since the service states are used for the ordered list originating from ConnMan.

And cleanup some old debug to make output more clear.

@LaakkonenJussi LaakkonenJussi changed the title WIP: Add checks for not repeating actions, add instance debug Add checks for not repeating actions, clean debug Feb 16, 2024
…es JB#61555

Do the default route update when there are changes in the service cache.
This prevents doing unnecessary list traversals when there are no
updates or when the default route is kept as the same. Also drop out
from the services cache traversal when first not connected service is
encountered since the service states are used for the ordered list
originating from ConnMan.

And cleanup some old debug to make output more clear.

Drop excess call to updateDefaultRoute() - called in updateServices().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants