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

fix: Only run migration data fixes on migrations #5038

Open
wants to merge 3 commits into
base: mealie-next
Choose a base branch
from

Conversation

michael-genson
Copy link
Collaborator

@michael-genson michael-genson commented Feb 7, 2025

What this PR does / why we need it:

(REQUIRED)

Resolves slow start times on large instances by not checking for data fixes on every boot. We now only check for migration data issues after doing a migration.

I opted not to pin these to a particular migration since we still haven't nailed the root causes down for some of these, but at least now it will only run on upgrades or data restores, so normal teardowns/rebuilds won't take forever.

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #4610

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

Eyeballing task py

@github-actions github-actions bot added the bugfix label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Slow startup times
1 participant