improbable-eng / go-srvlb

DNS SRV Load Balancer for gRPC
Apache License 2.0
42 stars 11 forks source link

Make number of consecutive SRV lookup failures configurable #8

Open kdima opened 7 years ago

kdima commented 7 years ago

Currently limit is set to 5. So at the moment if there are 5 consecutive failures RoundRobin resolver will stop all the resolutions and keep using old connections that might be stale. See: go/src/google.golang.org/grpc/balancer.go:240