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

Remove overhead caused by indenting databases #316

Merged
merged 3 commits into from
Nov 5, 2023

Conversation

notsniped
Copy link
Member

Previously, when a request was fired to save the isobot databases, the client would add indents to every single line in the database. This does look nice for the eyes, but this also causes major computational overhead (especially when working with the items database), and is one of the main reasons causing the Replit server to crash.

This update removes indenting while saving databases. Now, the databases may not look as nice, but at least it should be able to spare the server a bit.

@notsniped notsniped added enhancement New feature or request priority:high area:storage Changes made to the systems required for storing, modifying and accessing of user data. type:patch Bug fixes for the bot and/or it's commands area:framework Any changes to the NKA Framework for isobot labels Nov 5, 2023
@notsniped notsniped self-assigned this Nov 5, 2023
@notsniped notsniped merged commit f6ae6b9 into main Nov 5, 2023
3 checks passed
@notsniped notsniped deleted the optimize-database-system branch November 5, 2023 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:framework Any changes to the NKA Framework for isobot area:storage Changes made to the systems required for storing, modifying and accessing of user data. enhancement New feature or request priority:high size/M type:patch Bug fixes for the bot and/or it's commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant