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
I'm seeing a really strange behaviour where the CACHE_THRESHOLD value is only honoured exactly at midnight: at this time the cache is cleaned from old copies and only the number specified in CACHE_THRESHOLD survives.
During the rest of the day, instead, the cache grows indefinitely and the number of items surpasses the number set in CACHE_THRESHOLD, as shown by this disk usage graph on my server.
Surely I'm interpreting the documentation wrong or doing something bad in my code, but I'm setting the cache as easily as this
I'm seeing a really strange behaviour where the
CACHE_THRESHOLD
value is only honoured exactly at midnight: at this time the cache is cleaned from old copies and only the number specified inCACHE_THRESHOLD
survives.During the rest of the day, instead, the cache grows indefinitely and the number of items surpasses the number set in
CACHE_THRESHOLD
, as shown by this disk usage graph on my server.Surely I'm interpreting the documentation wrong or doing something bad in my code, but I'm setting the cache as easily as this
and decorating the functions with
Do you know what could be the issue?
Environment:
The text was updated successfully, but these errors were encountered: