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
How do I dynamically modify the configuration? #2214
Comments
I believe this is a duplicate request to #1661 |
It is similar to the one you mention, as well as #1618, but different ... wanting to change configuration settings at runtime, from the sound of it. It could be that addressing wither of the others in 4.1 might resolve this too. |
Can we change |
@techoner changing that line is a good idea, I think. Care to submit a PR? |
@lonnieezell Just submitted a PR, #2224 |
@techoner Awesome. Thanks! Merged. Does this fix this issue also? |
This brings up a good point, now that we have |
... followup question, should the "appropriate order" be (App, third-party, System) to enable modules to override core configurations? Increases security concerns but also extension potential. |
@MGatner Yes, internally we should typically be using either the helper or There might be occasions where we don't want to use that but I think 99% of the time it should use it. |
@MGatner as for "appropriate order" my decision on that order the first time put system above modules to ensure someone couldn't install a module they hadn't inspected very well and run into a situation where the modules' config overrode system settings without the app realizing it, potentially leading to bad results. Seems safer to this way. If they want to use a config file that's named the same as one in the system, it should be a known step on the part of the developer to copy it from the module to the |
This fixes this issue. |
I tried to modify the configuration
hostname
, it doesn't work:Then in another place:
It still uses
127.0.0.1
to connect ...The text was updated successfully, but these errors were encountered: