Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve repodata.json download for proxy mirror mode #660

Open
beenje opened this issue Sep 6, 2023 · 0 comments
Open

Improve repodata.json download for proxy mirror mode #660

beenje opened this issue Sep 6, 2023 · 0 comments

Comments

@beenje
Copy link
Contributor

beenje commented Sep 6, 2023

On our Quetz instance, we defined conda-forge as proxy channel.
We use local storage.

The repodata.json file from conda-forge is cached locally for channel.ttl seconds.
When the file is requested, if the time is older, the file is first downloaded locally. This is blocking and all clients requesting that file have to wait. It can take some time and we even experience some timeout on the client side: requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url https://conda.example.org/get/conda-forge/linux-64/repodata.json.

I'm sure this could be improved. Just some ideas:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant