fix(caches): actually obey wire cache flag on local method caching
This commit is contained in:
parent
f096d65f31
commit
67674fcb3d
2 changed files with 6 additions and 5 deletions
|
|
@ -213,12 +213,10 @@ class ScmModel(BaseModel):
|
|||
|
||||
try:
|
||||
if name in repos:
|
||||
raise RepositoryError('Duplicate repository name %s '
|
||||
'found in %s' % (name, path))
|
||||
raise RepositoryError(f'Duplicate repository name {name} found in {path}')
|
||||
elif path[0] in rhodecode.BACKENDS:
|
||||
backend = get_backend(path[0])
|
||||
repos[name] = backend(path[1], config=config,
|
||||
with_wire={"cache": False})
|
||||
repos[name] = backend(path[1], config=config, with_wire={"cache": False})
|
||||
except OSError:
|
||||
continue
|
||||
except RepositoryError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue