-
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.
Added handlers to preloader script for timeouts
- Prefetcher is hanging regularly and getting stuck, so set a hard timeout of 15 seconds on all requests and add `catch()` blocks to deal with the errors - Handle case where there's an unknown error when fetching historical trades and move on instead of staying stuck - Implemented delay system between downloading chunks to avoid tripping the new Poloniex API rate limits - Add special handle for if we do trip their API limits that waits a few minutes before continuing the download.
- Loading branch information
Showing
1 changed file
with
50 additions
and
11 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