File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @grpc/grpc-js" ,
3- "version" : " 1.11.2 " ,
3+ "version" : " 1.11.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" ,
Original file line number Diff line number Diff line change @@ -110,6 +110,13 @@ export class RoundRobinLoadBalancer implements LoadBalancer {
110110 channelControlHelper ,
111111 {
112112 updateState : ( connectivityState , picker ) => {
113+ /* Ensure that name resolution is requested again after active
114+ * connections are dropped. This is more aggressive than necessary to
115+ * accomplish that, so we are counting on resolvers to have
116+ * reasonable rate limits. */
117+ if ( this . currentState === ConnectivityState . READY && connectivityState !== ConnectivityState . READY ) {
118+ this . channelControlHelper . requestReresolution ( ) ;
119+ }
113120 this . calculateAndUpdateState ( ) ;
114121 } ,
115122 }
You can’t perform that action at this time.
0 commit comments