Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Add timeouts/retries #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add timeouts/retries #52

wants to merge 1 commit into from

Conversation

robxu9
Copy link

@robxu9 robxu9 commented Jan 17, 2022

This PR adds timeouts and retries to all downloads.
I was having downloads time out in minutes, which was significantly slowing down my ability to pull my library.
Also couple this with retries so that if it times out, it tries again.

(I referenced https://findwork.dev/blog/advanced-usage-python-requests-timeouts-retries-hooks/ for this.)

Add timeouts to prevent downloads from timing out in minutes.
Add retries to all downloads (the only way I was able to
download my entire library).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant