-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retry broadcasts after 500ms if they failed due to an HTTP error
Due to the rate-limiting applied by many Esplora servers we often receive HTTP 429 ('too many requests') errors during syncing. Here, we simply give broadcasting transactions a second chance after a slight delay of 500ms to ease the pain of immediate failures. Generally, rebroadcasting will then be initiated by the `OuputSweeper`.
- Loading branch information
Showing
1 changed file
with
39 additions
and
9 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