Skip to content
Snippets Groups Projects
Unverified Commit cbcac722 authored by Patrick Gartung's avatar Patrick Gartung Committed by GitHub
Browse files

Buildcache keys command speed up (#15727)

* Limit the spidering to depth=0 for keys

* depth=0 is default argument
parent beaa4fbe
No related branches found
No related tags found
No related merge requests found
......@@ -903,7 +903,7 @@ def get_keys(install=False, trust=False, force=False):
url_util.format(fetch_url_build_cache))
# For s3 mirror need to request index.html directly
p, links = web_util.spider(
url_util.join(fetch_url_build_cache, 'index.html'), depth=1)
url_util.join(fetch_url_build_cache, 'index.html'))
for link in links:
if re.search(r'\.key', link) or re.search(r'\.pub', link):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment