Skip to content

Commit

Permalink
Merge pull request #2098 from murgatroid99/grpc-js_dns_dont_continue_…
Browse files Browse the repository at this point in the history
…resolving

grpc-js: DNS: unset continueResolving when starting a resolution attempt
  • Loading branch information
murgatroid99 committed Apr 18, 2022
2 parents 5dc2e7f + c9b7d4d commit 432fd95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/grpc-js/src/resolver-dns.ts
Expand Up @@ -314,6 +314,7 @@ class DnsResolver implements Resolver {
}

private startResolutionWithBackoff() {
this.continueResolving = false;
this.startResolution();
this.backoff.runOnce();
this.startNextResolutionTimer();
Expand Down

0 comments on commit 432fd95

Please sign in to comment.