-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry after timeout when waiting for PMHC extract
For large extract, we have to wait a long time for the extract to generate. While waiting, we make a request every 30 seconds to check if the extract is ready. There are a lot of chances for request timeouts during this period. This commit adds a max_retries parameter, which will retry up to the specified number of timeouts. By default, this is set to 20 retries.
- Loading branch information
1 parent
dd5e6a7
commit 403c838
Showing
1 changed file
with
19 additions
and
5 deletions.
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