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
Fixing issue #2755: updating config storage inside HTTPServer #2882
Conversation
We can update application.storage from within HTTPServer, this way we can keep any changes that happen to the configuration internally up-to-date with the application storage
this is an alternative to #2881 |
This should have been solved in #2764 - does that match with what you were seeing? |
In that PR you have reflected changes in configuration back to HTTPServer, which is just part of the fix, we also need to update |
@rkreutz ah I see - do you want to update the PR so the test reflects the missing config? Thanks! |
Should we go with this approach then rather than #2881 ? |
Yeah this feels like a better change, keeping it as a struct if possible is desirable as we adopt |
Hey @0xTim anything else here you'd like to have added? |
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.
Apologies, got lost in the queue! This is good to go when CI passes
These changes are now available in 4.65.2 |
We can update application.storage from within HTTPServer, this way we can keep any changes that happen to the configuration internally up-to-date with the application storage.
This possibly has the least changes and less surface of potential flaws, since we are only adding an extra param and working on top of it. However, now we are setting the application storage from within
HTTPServer
, there is no issue with that, is just that now we have 2 places changing the storage for the config.Resolves #2755