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

Implement flags to control retry delays #83

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Implement flags to control retry delays #83

merged 1 commit into from
Jan 13, 2021

Commits on Jan 6, 2021

  1. Implement flags to control retry delays

    Amend the client with two new flags, "--proxy.retry.initial-wait" and
    "--proxy.retry.max-wait", controlling how long to sleep after
    encountering a proxy poll failure (i.e. network timeout). An
    exponential, randomized backoff algorithm is used to prevent thundering
    herds. The initial wait is raised from 50ms to 1s. In practice waiting
    less than a second after a failure is rarely useful and prevents the
    server from being hammered with up to three requests in the second after
    a failure.
    
    Discussed in #82.
    
    Signed-off-by: Michael Hanselmann <[email protected]>
    hansmi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    fa732d0 View commit details
    Browse the repository at this point in the history