Skip to content

Commit

Permalink
Merge pull request #2758 from hanlins/v0.37-backport-2749
Browse files Browse the repository at this point in the history
Cherrypick to v0.37: Fix timeout flooding issue after containerd restart
  • Loading branch information
bobbypage committed Dec 9, 2020
2 parents 0d3dfd7 + 36a29fe commit 49315fa
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 49315fa

Please sign in to comment.