Show More
@@ -245,8 +245,9 b' class RemoteRepo(object):' | |||
|
245 | 245 | |
|
246 | 246 | cache_on = False |
|
247 | 247 | cache_key = '' |
|
248 | if name in ['is_large_file', 'is_binary', 'fctx_size', 'bulk_request']: | |
|
249 | cache_on = True and rhodecode.CONFIG.get('vcs.methods.cache') | |
|
248 | local_cache = rhodecode.CONFIG.get('vcs.methods.cache') | |
|
249 | if local_cache and name in ['is_large_file', 'is_binary', 'fctx_size', 'bulk_request']: | |
|
250 | cache_on = True | |
|
250 | 251 | cache_key = compute_key_from_params(name, args[0], args[1]) |
|
251 | 252 | |
|
252 | 253 | @self._cache_region.conditional_cache_on_arguments( |
General Comments 0
You need to be logged in to leave comments.
Login now