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

perf: Make cache usable for unfavorited entries #1063

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented May 6, 2024

We always missed the cache as we store false in the cache and that is the same as not having a value set.

This avoids running the query multiple times

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl added bug Something isn't working 3. to review Waiting for reviews performance Performance issues and optimisations labels May 6, 2024
@blizzz blizzz merged commit 2fff742 into main May 6, 2024
58 checks passed
@blizzz blizzz deleted the perf/favorites branch May 6, 2024 08:14
@juliushaertl
Copy link
Member Author

/backport to stable0.7

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label May 6, 2024
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working performance Performance issues and optimisations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants