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

Do small optimization on Album.cover() #3889

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Do small optimization on Album.cover() #3889

merged 1 commit into from
Jan 22, 2025

Conversation

ColonelPhantom
Copy link
Contributor

Related to #3887 (but not sure if closes).

Summary

Uses only one query; should be faster in most cases? I would expect it to reduce roundtrips, and I don't think work was being saved by doing the query conditionally, especially since it would be empty otherwise.

How to test

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'

@DeD1rk DeD1rk merged commit 3e8ad27 into master Jan 22, 2025
8 checks passed
@DeD1rk DeD1rk deleted the optimize-photo-cover branch January 22, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants