-
Notifications
You must be signed in to change notification settings - Fork 105
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
Refactor component management and add state caching #2502
Conversation
… for improved readability and maintainability Signed-off-by: worksofliam <[email protected]>
Signed-off-by: worksofliam <[email protected]>
👋 A new build is available for this PR based on 0c03388. |
Signed-off-by: worksofliam <[email protected]>
|
Signed-off-by: worksofliam <[email protected]>
Co-authored-by: Sanjula Ganepola <[email protected]>
@SanjulaGanepola I followed through with your recommendations. I need to fix the test cases before you review. (I love automated test cases!!) |
Signed-off-by: worksofliam <[email protected]>
@SanjulaGanepola This PR is now ready for review again. The tests are correctly passing after I added a missing await. |
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.
Looks good now and connect is faster. Another great change!
Improve code readability and maintainability by refactoring library and directory checks into separate methods. Introduce caching for component states to enhance connection performance.
Adds the component stats to the settings cache and validation each one individually. This will allow us to update one component without updating them all again.
Before:
After: