Skip to content

Commit

Permalink
Merge pull request #2691 from murgatroid99/grpc-js_pick_first_disconn…
Browse files Browse the repository at this point in the history
…ect_fix_revert

Revert #2680 "grpc-js: pick_first: Don't automatically reconnect after connection drop"
  • Loading branch information
murgatroid99 committed Mar 15, 2024
2 parents 0edd194 + a8c6c33 commit 649412f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js/package.json
@@ -1,6 +1,6 @@
{
"name": "@grpc/grpc-js",
"version": "1.10.2",
"version": "1.10.3",
"description": "gRPC Library for Node - pure JS implementation",
"homepage": "https://grpc.io/",
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
Expand Down
1 change: 1 addition & 0 deletions packages/grpc-js/src/load-balancer-pick-first.ts
Expand Up @@ -348,6 +348,7 @@ export class PickFirstLoadBalancer implements LoadBalancer {
if (newState !== ConnectivityState.READY) {
this.removeCurrentPick();
this.calculateAndReportNewState();
this.requestReresolution();
}
return;
}
Expand Down

0 comments on commit 649412f

Please sign in to comment.