We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d19d6a commit ba70f71Copy full SHA for ba70f71
packages/grpc-js/src/load-balancer-child-handler.ts
@@ -125,9 +125,9 @@ export class ChildLoadBalancerHandler implements LoadBalancer {
125
}
126
exitIdle(): void {
127
if (this.currentChild) {
128
- this.currentChild.resetBackoff();
+ this.currentChild.exitIdle();
129
if (this.pendingChild) {
130
- this.pendingChild.resetBackoff();
+ this.pendingChild.exitIdle();
131
132
133
packages/grpc-js/src/resolver-dns.ts
@@ -144,6 +144,7 @@ class DnsResolver implements Resolver {
144
if (this.ipResult !== null) {
145
trace('Returning IP address for target ' + uriToString(this.target));
146
setImmediate(() => {
147
+ this.backoff.reset();
148
this.listener.onSuccessfulResolution(
149
this.ipResult!,
150
null,
0 commit comments