-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add retry for HTTP failures and network connectivity issues
In the HTTP backend, we create a urllib3's retry policy and attach it to a python-requests session. We test this by monkeypatching the code to retry on 404 errors (which we normally do not). We attempt to fetch a file that's not present, but start a thread that creates the file after a short delay. It should initially not find the file, and then eventually succeed. Fixes spacetx/starfish#1277
- Loading branch information
Tony Tung
committed
May 13, 2019
1 parent
ac21c56
commit f76db39
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters