Merge pull request !2727 from rhodecode-enterprise-ce-workspace-fork main
caches: fixed case for 255 char limits on windows WSL file based caches
This commit is contained in:
commit
5bf54748e5
1 changed files with 3 additions and 1 deletions
|
|
@ -203,8 +203,10 @@ class RemoteRepo(object):
|
|||
self.stream_url = remote_maker.stream_url
|
||||
self._session = remote_maker._session_factory()
|
||||
|
||||
cache_repo_id = self._repo_id_sanitizer(repo_id)
|
||||
_repo_name = self._get_repo_name(config, path)
|
||||
# at this point this is actually a PATH, so we turn it into a hash to prevent 255 char limits
|
||||
cache_repo_id = self._repo_id_sanitizer(repo_id)
|
||||
cache_repo_id = rc_cache.utils.compute_key_from_params("repo_name", cache_repo_id)
|
||||
self._cache_region, self._cache_namespace = remote_maker.init_cache_region(cache_repo_id)
|
||||
|
||||
with_wire = with_wire or {"cache": False}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue