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 delay for jar addons at startup #4302

Open
morph166955 opened this issue Jul 7, 2024 · 0 comments
Open

Add delay for jar addons at startup #4302

morph166955 opened this issue Jul 7, 2024 · 0 comments
Labels
enhancement An enhancement or new feature of the Core

Comments

@morph166955
Copy link

For years now when updating from snapshot to snapshot I've had an issue I believe is related to startup order on jar addons. If I leave my jars in the addons folder I get a flood of errors for 5-15 minutes the first few times I start OH. If I remove the addons, clear the cache, and then start OH after doing the upgrade it boots cleanly every time. Adding the addons back in then works fine, and subsequent startups are smooth. I assume this is related to java having to do it's cache/compiling at startup on that first shot. Would it be possible to put something in the startup procedure to delay jar initialization until after the OH addons kar is completely loaded?

@morph166955 morph166955 added the enhancement An enhancement or new feature of the Core label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

No branches or pull requests

1 participant