Skip to content

Conversation

ralokt
Copy link

@ralokt ralokt commented Feb 25, 2025

Found this while working on #275 . It's a straightforward fix, and unrelated to the rest of the issue, so I thought I'd make a separate PR.

Currently, when the cache is skipped for the legacy API view, a full lookup will be done twice: once in the if skip_cache: block, and once after the database lookup fails. This PR also no longer unnecessarily does that lookup if the cache is skipped.

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.

1 participant