Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Remove overhead caused by indenting databases#316

Merged
notsniped merged 3 commits intomainfrom
optimize-database-system
Nov 5, 2023
Merged

Remove overhead caused by indenting databases#316
notsniped merged 3 commits intomainfrom
optimize-database-system

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
@notsniped notsniped deleted the optimize-database-system branch November 5, 2023 05:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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