Show More
@@ -268,8 +268,8 b' class InvalidationContext(object):' | |||||
268 | self.compute_time = 0 |
|
268 | self.compute_time = 0 | |
269 |
|
269 | |||
270 | def get_or_create_cache_obj(self, uid, invalidation_namespace=''): |
|
270 | def get_or_create_cache_obj(self, uid, invalidation_namespace=''): | |
271 | log.debug('Checking if %s cache key is present and active', self.cache_key) |
|
|||
272 | cache_obj = CacheKey.get_active_cache(self.cache_key) |
|
271 | cache_obj = CacheKey.get_active_cache(self.cache_key) | |
|
272 | log.debug('Fetched cache obj %s using %s cache key.', cache_obj, self.cache_key) | |||
273 | invalidation_namespace = invalidation_namespace or self.invalidation_namespace |
|
273 | invalidation_namespace = invalidation_namespace or self.invalidation_namespace | |
274 | if not cache_obj: |
|
274 | if not cache_obj: | |
275 | cache_obj = CacheKey(self.cache_key, cache_args=invalidation_namespace) |
|
275 | cache_obj = CacheKey(self.cache_key, cache_args=invalidation_namespace) |
General Comments 0
You need to be logged in to leave comments.
Login now