Skip to content

Commit 649412f

Browse files
authored
Merge pull request #2691 from murgatroid99/grpc-js_pick_first_disconnect_fix_revert
Revert #2680 "grpc-js: pick_first: Don't automatically reconnect after connection drop"
2 parents 0edd194 + a8c6c33 commit 649412f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/grpc-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js",
3-
"version": "1.10.2",
3+
"version": "1.10.3",
44
"description": "gRPC Library for Node - pure JS implementation",
55
"homepage": "https://grpc.io/",
66
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",

packages/grpc-js/src/load-balancer-pick-first.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ export class PickFirstLoadBalancer implements LoadBalancer {
348348
if (newState !== ConnectivityState.READY) {
349349
this.removeCurrentPick();
350350
this.calculateAndReportNewState();
351+
this.requestReresolution();
351352
}
352353
return;
353354
}

0 commit comments

Comments
 (0)