Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information