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

Do not reset already loaded config when updating config file #679

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented Sep 4, 2023

In case the user config file has to be updated, the file needs to get reset. While doing the reset, the already loaded internal state of the config got also reset, but was never updated again. Due to this, the internal state of the config was the default config reference until the next server startup

Regression introduced with a314465.

In case the user config file has to be updated, the file needs to get reset.
While doing the reset, the already loaded internal state of the config got also reset, but was never updated again.
Due to this, the internal state of the config was the default config reference until the next server startup

Regression introduced with a314465.
@Syer10 Syer10 merged commit c910026 into Suwayomi:master Sep 6, 2023
@schroda schroda deleted the fix/updating_outdated_user_config_causes_default_values_to_be_used branch September 24, 2023 09:45
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

Successfully merging this pull request may close these issues.

2 participants