-
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 Twitter list requests 10 times
To try and deal with Twitter sometimes returning a 404 error for list pages this adds the Faraday "retry" middleware to the Twitter middleware stack. This is configured to check for a Twitter::Error::NotFound error and retry the request up to 10 times.
- Loading branch information
1 parent
4722517
commit ec8c54e
Showing
2 changed files
with
27 additions
and
0 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
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