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

Store forum config in DB #94

Open
Lanny opened this issue Jan 5, 2020 · 0 comments
Open

Store forum config in DB #94

Lanny opened this issue Jan 5, 2020 · 0 comments

Comments

@Lanny
Copy link
Owner

Lanny commented Jan 5, 2020

In a dockerized production environment, rebuilding images to change settings is a bad idea. Even outside of dockerization, editing the setting file and bouncing the server isn't ideal and not very user friendly to admins.

The idea here is to store the config in the DB and create a form for editing it. This requires that the ConfigurationManager be able to reload. Hitting the DB for each .get_config() call isn't acceptable so the manager will need to cache internally and invalidate periodically or consult a shared cache to know when to invalidate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant