Skip to content

Commit 51ad367

Browse files
committed
dialers/retrier: account for strat before retrying
1 parent 8b08bb8 commit 51ad367

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/dialers/retrier.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (r *retrier) retryCompleted() bool {
127127
}
128128

129129
func (r *retrier) canRetryLocked() bool {
130-
return r.retryCount < maxRetryCount
130+
return r.dialerOpts.Retry != settings.RetryNever && r.retryCount < maxRetryCount
131131
}
132132

133133
// Given rtt of a successful socket connection (SYN sent - SYNACK received),

0 commit comments

Comments
 (0)