Open robxu9 opened 2 years ago
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.)
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.)