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.
2 parents 9272aee + 613c914 commit 8d532f9Copy full SHA for 8d532f9
packages/grpc-js/src/load-balancer-pick-first.ts
@@ -315,7 +315,7 @@ export class PickFirstLoadBalancer implements LoadBalancer {
315
}
316
317
private pickSubchannel(subchannel: SubchannelInterface) {
318
- if (subchannel === this.currentPick) {
+ if (this.currentPick && subchannel.realSubchannelEquals(this.currentPick)) {
319
return;
320
321
trace('Pick subchannel with address ' + subchannel.getAddress());
0 commit comments