You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The
filter_types
andfilter_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.
The text was updated successfully, but these errors were encountered: