File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @grpc/grpc-js" ,
3
- "version" : " 1.9.2 " ,
3
+ "version" : " 1.9.3 " ,
4
4
"description" : " gRPC Library for Node - pure JS implementation" ,
5
5
"homepage" : " https://grpc.io/" ,
6
6
"repository" : " https://github.com/grpc/grpc-node/tree/master/packages/grpc-js" ,
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ class DnsResolver implements Resolver {
175
175
} ) ;
176
176
this . backoff . stop ( ) ;
177
177
this . backoff . reset ( ) ;
178
+ this . stopNextResolutionTimer ( ) ;
178
179
return ;
179
180
}
180
181
if ( this . dnsHostname === null ) {
@@ -339,9 +340,9 @@ class DnsResolver implements Resolver {
339
340
private startResolutionWithBackoff ( ) {
340
341
if ( this . pendingLookupPromise === null ) {
341
342
this . continueResolving = false ;
342
- this . startResolution ( ) ;
343
343
this . backoff . runOnce ( ) ;
344
344
this . startNextResolutionTimer ( ) ;
345
+ this . startResolution ( ) ;
345
346
}
346
347
}
347
348
Original file line number Diff line number Diff line change @@ -247,6 +247,8 @@ export class ResolvingLoadBalancer implements LoadBalancer {
247
247
configSelector : ConfigSelector | null ,
248
248
attributes : { [ key : string ] : unknown }
249
249
) => {
250
+ this . backoffTimeout . stop ( ) ;
251
+ this . backoffTimeout . reset ( ) ;
250
252
let workingServiceConfig : ServiceConfig | null = null ;
251
253
/* This first group of conditionals implements the algorithm described
252
254
* in https://github.com/grpc/proposal/blob/master/A21-service-config-error-handling.md
You can’t perform that action at this time.
0 commit comments