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

Retry requests on ConnectionErrors #437

Merged
merged 1 commit into from
Mar 1, 2021
Merged

Retry requests on ConnectionErrors #437

merged 1 commit into from
Mar 1, 2021

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Mar 1, 2021

I've encountered requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.dandiarchive.org', port=443): Pool is closed. a couple times while testing uploads to the new API. This PR should take care of that.

@jwodder jwodder added the patch Increment the patch version when merged label Mar 1, 2021
@codecov
Copy link

codecov bot commented Mar 1, 2021

Codecov Report

Merging #437 (944921b) into master (fa890fd) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #437   +/-   ##
=======================================
  Coverage   82.22%   82.22%           
=======================================
  Files          55       55           
  Lines        5672     5672           
=======================================
  Hits         4664     4664           
  Misses       1008     1008           
Flag Coverage Δ
unittests 82.22% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
dandi/dandiapi.py 87.28% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa890fd...944921b. Read the comment docs.

@yarikoptic
Copy link
Member

Looks good, thank you!

@yarikoptic yarikoptic merged commit 9150981 into master Mar 1, 2021
@yarikoptic yarikoptic deleted the retry-get branch March 1, 2021 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants