Skip to content
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

[REQUEST] Dynamic Config (store-based) for Settings #197

Open
antonleviathan opened this issue Feb 12, 2023 · 0 comments
Open

[REQUEST] Dynamic Config (store-based) for Settings #197

antonleviathan opened this issue Feb 12, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@antonleviathan
Copy link
Contributor

antonleviathan commented Feb 12, 2023

Is your feature request related to a problem? Please describe.
Settings are difficult to manage across different environments, and at scale for clusters of relays.

Describe the solution you'd like
The config values should be loaded from the DB using a bson object stored in the db, proper table for configs or a combination of both.

Describe alternatives you've considered
The complexity of describing the schema for the settings yaml file is making me lean towards a single bson object which is manipulated to update config values, but it does make sense for some settings to remain in a file (ones that aren't updated as frequently). Additionally, consider using a framework/lib to help manage configs like https://www.npmjs.com/package/config. It's better if we can do this without an added library, but it should be assessed.

@antonleviathan antonleviathan added the enhancement New feature or request label Feb 12, 2023
@antonleviathan antonleviathan mentioned this issue Feb 12, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants