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

Actually record last retry time after reconnecting #2608

Merged
merged 1 commit into from
Oct 25, 2024

Commits on Oct 25, 2024

  1. Actually record last retry time after reconnecting

    The code was incorrectly setting it to "never", meaning the
    bodyReaderMSSinceLastRetry heuristic was never triggered,
    and, in effect, we would _always_ reconnect on io.ErrUnexpectedEOF
    or syscall.ECONNRESET .
    
    This corrects the code - but it might also make more network failures
    user-visible instead of silently retried.
    
    Signed-off-by: Miloslav Trmač <[email protected]>
    mtrmac committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    75d8637 View commit details
    Browse the repository at this point in the history