johnny-cache
johnny-cache copied to clipboard
johnny cache django caching framework
Happens other places inside TransactionManager, anywhere this code is used: c = self.local.mget('%s_%s_*' % (self.prefix, self._trunc_using(using))) The problem is that the 'using' variable is the DB key, not the substituted...
If `DISABLE_QUERYSET_CACHE` is set to `True`, `QueryCacheMiddleware` is a no-op. However, `celery_enable_all` (specifically, `johnny.cache.utils.prerun_handler`) calls `patch` indiscriminately.
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...
When using johnny cache with django's TestCase, johnny cache's transaction patching gets overridden by TestCase's patching. This results in johnny cache's local cache not being cleared between tests, creating all...
Unfortunatly we havent had the time to investigate further, but we managed to find a case where johnny (or rather the runserver) goes crazy and hogs over all 16 GB...
query.tables includes aliases, such as "T6"; these alias names are useless in terms of invalidation and also cause a lot of generational noise. They are necessarily the same base tables...