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

🐛 Change settings to be loaded only once from disk #165

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

a-kenji
Copy link
Collaborator

@a-kenji a-kenji commented Jul 18, 2024

Add the get_or_init function to [Settings] that will cache the
result in memory once it reads the settings file from disk.

Add the `get_or_init` function to `[Settings]` that will cache the
result in memory once it reads the settings file from disk.
@a-kenji a-kenji merged commit f813ca6 into main Jul 18, 2024
1 check passed
@a-kenji a-kenji deleted the fix/settings branch July 18, 2024 21:37
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