caches: added path check to cached methods for faster git repo checks

This commit is contained in:
RhodeCode Admin 2022-12-19 15:20:57 +01:00
parent 7a4e0005a5
commit 02cdf6fd78

View file

@ -257,6 +257,7 @@ class RemoteRepo(object):
'revision', 'tree_items',
'ctx_list', 'ctx_branch', 'ctx_description',
'bulk_request',
'assert_correct_path'
]
if local_cache_on and name in cache_methods: