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

filter_types and filter_categories are not cached #313

Closed
jace opened this issue Mar 30, 2016 · 0 comments
Closed

filter_types and filter_categories are not cached #313

jace opened this issue Mar 30, 2016 · 0 comments
Assignees

Comments

@jace
Copy link
Member

jace commented Mar 30, 2016

The filter_types and filter_categories functions have a cache decorator. However, the cache is never hit and the database gets hit each time, possibly because of the "basequery" and "board" parameters causing "memoize" to land a new lookup key on each call. This means Redis is also getting flooded with keys it will never use again.

We need to either change the parameters or change the way they are memoized for cache.

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

No branches or pull requests

2 participants