-
Notifications
You must be signed in to change notification settings - Fork 59
feat: support to modify configs without restart #682
Conversation
I review this pull request roughly, I think this pr implement a http get interface to support user update some configurations dynamically, we don't need to restart server any more. I recommend that you add some comments in code or descriptions, including:
By the way, would you consider adding another interface for listing names of the config who can be updated through http? |
Yes, I will add a http interface to list names of all of the configs in other pull requests. |
Support to modify configs without restart.
NOTE
String modifications is not supported.
A example for http interface to update config:
Please add
DSN_TAG_VARIABLE(name, FT_MUTABLE)
if you want to make a config mutable.I will add validator for config update, in next pull request.