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

Use FeatureInstaller for suggestion finder installation #4188

Merged
merged 2 commits into from
Apr 28, 2024

Conversation

mherwege
Copy link
Contributor

See #3983

This PR changes the installation/deinstallation of suggestion finders, not directly calling the FeatureService, but through FeatureInstaller. This should reduce the amount of bundle refreshes happening, but will not completely avoid it (the root cause is not with the finders, but the refersh on install/deinstall of any bundle).
At a minimum, it moves the installation/deinstallation into the same code as installing/deinstalling addons, so improvements in that code will also benefit the installation/deinstallation of the addon finders.

@J-N-K @lolodomo let me know if this change is worth doing, or the benefit is too limited.

Signed-off-by: Mark Herwege <[email protected]>
@mherwege mherwege requested a review from a team as a code owner April 17, 2024 09:42
Signed-off-by: Mark Herwege <[email protected]>
@J-N-K
Copy link
Member

J-N-K commented Apr 21, 2024

LGTM, I would like to hear what @wborn thinks about it.

@J-N-K
Copy link
Member

J-N-K commented Apr 28, 2024

Let's give it a try.

@J-N-K J-N-K added the bug An unexpected problem or unintended behavior of the Core label Apr 28, 2024
@J-N-K J-N-K added this to the 4.2 milestone Apr 28, 2024
@J-N-K J-N-K merged commit 7cedb12 into openhab:main Apr 28, 2024
3 checks passed
@mherwege mherwege deleted the finder_install branch April 28, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants