-
Notifications
You must be signed in to change notification settings - Fork 425
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
Update InitializeEdgesWorker.java to refresh Edges every 30 minutes #2544
base: develop
Are you sure you want to change the base?
Conversation
Right now if a new Edge Device is added to the Backend we always need to restart the Backend. This fix handles this as it calls the InitializeEdgesWorker every 30 Minutes without setting the Edges Offline again after first run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check if all changes are actually required: https://github.com/OpenEMS/openems/pull/2544/files
All comments must be in English language.
I am not 100 % convinced that this approach is a good idea... but let's discuss it on a "clean as possible" PR.
Changed Comments to English, Changed the Formatting back to the original one
@sfeilmeier i guess it looks better now :) Summary of Changes in
|
@michaelgrill: Can you please add your opinion? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should work for this case, but the long term goal would be to remove the "cache" completly
Right now if a new Edge Device is added to the Backend we always need to restart the Backend. This fix handles this as it calls the InitializeEdgesWorker every 30 Minutes without setting the Edges Offline again after first run.