Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpcclient: Add retry with backoffs to HTTP POST requests #1743

Merged
merged 1 commit into from Nov 16, 2021

Commits on Nov 14, 2021

  1. rpcclient: Add retry with backoffs to HTTP POST requests

    Adds behavior similar to the retries of persistent RPC connections
    to HTTP request.
    
    * Initial backoff: 500ms
    * Linear increase
    * Max retries: 10
    
    Room for future improvement:
    * Make configurable
    * Add jitter
    * Tests for retry behavior
    3nprob committed Nov 14, 2021
    Copy the full SHA
    1181268 View commit details
    Browse the repository at this point in the history