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

Delete all notes on app startup #1426

Open
mplorentz opened this issue Aug 27, 2024 · 1 comment
Open

Delete all notes on app startup #1426

mplorentz opened this issue Aug 27, 2024 · 1 comment
Assignees

Comments

@mplorentz
Copy link
Member

mplorentz commented Aug 27, 2024

We have had a lot of bugs come from our DatabaseCleaner code which deletes a bunch of data on app startup to keep the database from growing too large. Let's make two changes to it to reduce its complexity:

  • drop all notes (instead of trying to keep 1000 around)
  • wait for the cleanup to complete before displaying UI

I have a hunch that this may help with some or all of these issues our users have been experiencing:

  • content not loading
  • duplicate notes in the feed report
  • poor scroll performance
  • reposts displaying as JSON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint
Development

No branches or pull requests

2 participants
@mplorentz and others