@grpc/grpc-js
Advanced tools
Comparing version 0.6.6 to 0.6.7
@@ -254,3 +254,2 @@ "use strict"; | ||
this.pickSubchannel(subchannel); | ||
this.updateState(channel_1.ConnectivityState.READY, new PickFirstPicker(subchannel)); | ||
this.resetSubchannelList(); | ||
@@ -265,3 +264,5 @@ return; | ||
this.startConnecting(index); | ||
this.updateState(channel_1.ConnectivityState.CONNECTING, new picker_1.QueuePicker(this)); | ||
if (this.currentPick === null) { | ||
this.updateState(channel_1.ConnectivityState.CONNECTING, new picker_1.QueuePicker(this)); | ||
} | ||
return; | ||
@@ -271,3 +272,5 @@ } | ||
// If the code reaches this point, every subchannel must be in TRANSIENT_FAILURE | ||
this.updateState(channel_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker()); | ||
if (this.currentPick === null) { | ||
this.updateState(channel_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker()); | ||
} | ||
} | ||
@@ -274,0 +277,0 @@ updateAddressList(addressList, lbConfig) { |
{ | ||
"name": "@grpc/grpc-js", | ||
"version": "0.6.6", | ||
"version": "0.6.7", | ||
"description": "gRPC Library for Node - pure JS implementation", | ||
@@ -5,0 +5,0 @@ "homepage": "https://grpc.io/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
303424
7295