Database cleanup#16
Draft
luigi311 wants to merge 2 commits into
Draft
Conversation
luigi311
force-pushed
the
database_cleanup
branch
from
January 28, 2025 02:28
4d6ff32 to
fbc5683
Compare
Seperate out the database cleanup steps for a more consistant usage in different places Signed-off-by: Luis Garcia <git@luigi311.com>
Instead of returning all media paths from the database and sorting in python do it via sql with an index for a faster and more consistent experience. Signed-off-by: Luis Garcia <git@luigi311.com>
luigi311
force-pushed
the
database_cleanup
branch
from
January 28, 2025 02:30
fbc5683 to
c278962
Compare
luigi311
marked this pull request as draft
January 28, 2025 06:10
luigi311
force-pushed
the
database_cleanup
branch
from
January 28, 2025 06:37
c278962 to
becfbbe
Compare
Contributor
Author
|
this has a problem according to joaquin
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improves startup performance by grabbing the last media item in a album via sql instead of pulling all of them and reverse sorting.
Separates out the database cleanup steps that way it can be called more consistently.