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 have following statement at the beginning of my periodic celery task file:
from johnny.cache import enable
enable()
However, even I remove all johnny cache related settings (middleware, backend definitions etc), johnny cache was still enabled for entire project as you can guess. To disable entirely, I had to remove all enable statements.
I think proper solution would make enable() not work when JOHNNY_CACHE set to False in backend definitions (which actually don't benefit). I thought I have disable johnny cache when I did this but it was still there when I observed what was happening in memcached (can be seen using memcached -vv).
The text was updated successfully, but these errors were encountered:
I have following statement at the beginning of my periodic celery task file:
from johnny.cache import enable
enable()
However, even I remove all johnny cache related settings (middleware, backend definitions etc), johnny cache was still enabled for entire project as you can guess. To disable entirely, I had to remove all enable statements.
I think proper solution would make enable() not work when JOHNNY_CACHE set to False in backend definitions (which actually don't benefit). I thought I have disable johnny cache when I did this but it was still there when I observed what was happening in memcached (can be seen using memcached -vv).
The text was updated successfully, but these errors were encountered: