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

Add timeouts/retries#52

Open
robxu9 wants to merge 1 commit into
xtream1101:mainfrom
robxu9:main
Open

Add timeouts/retries#52
robxu9 wants to merge 1 commit into
xtream1101:mainfrom
robxu9:main

Conversation

@robxu9

@robxu9 robxu9 commented Jan 17, 2022

Copy link
Copy Markdown

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