Skip to content

Commit

Permalink
merge resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Oct 4, 2019
1 parent cf12ff3 commit 433f3e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resolver_conn_wrapper.go
Expand Up @@ -24,13 +24,15 @@ import (
"sync"
"time"

"google.golang.org/grpc/backoff"
"google.golang.org/grpc/balancer"
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/internal/backoff"
"google.golang.org/grpc/internal/channelz"
"google.golang.org/grpc/internal/grpcsync"
"google.golang.org/grpc/resolver"
"google.golang.org/grpc/serviceconfig"

internalbackoff "google.golang.org/grpc/internal/backoff"
)

// ccResolverWrapper is a wrapper on top of cc for resolvers.
Expand Down Expand Up @@ -113,7 +115,7 @@ func (ccr *ccResolverWrapper) close() {
ccr.mu.Unlock()
}

var resolverBackoff = backoff.Exponential{MaxDelay: 2 * time.Minute}.Backoff
var resolverBackoff = internalbackoff.Exponential{Config: backoff.Config{MaxDelay: 2 * time.Minute}}.Backoff

// poll begins or ends asynchronous polling of the resolver based on whether
// err is ErrBadResolverState.
Expand Down

0 comments on commit 433f3e0

Please sign in to comment.