Skip to content

Commit

Permalink
Merge pull request #2759 from hanlins/v0.38-backport-2749
Browse files Browse the repository at this point in the history
Cherrypick to v0.38: Fix timeout flooding issue after containerd restart
  • Loading branch information
bobbypage authored Dec 9, 2020
2 parents d1e3dea + 4bd8f15 commit 3051555
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions container/containerd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ func Client(address, namespace string) (ContainerdClient, error) {
tryConn.Close()

connParams := grpc.ConnectParams{
Backoff: backoff.Config{
BaseDelay: baseBackoffDelay,
MaxDelay: maxBackoffDelay,
},
Backoff: backoff.DefaultConfig,
}
connParams.Backoff.BaseDelay = baseBackoffDelay
connParams.Backoff.MaxDelay = maxBackoffDelay
gopts := []grpc.DialOption{
grpc.WithInsecure(),
grpc.WithContextDialer(dialer.ContextDialer),
Expand Down

0 comments on commit 3051555

Please sign in to comment.