File tree 2 files changed +8
-1
lines changed 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @grpc/grpc-js" ,
3
- "version" : " 1.11.2 " ,
3
+ "version" : " 1.11.3 " ,
4
4
"description" : " gRPC Library for Node - pure JS implementation" ,
5
5
"homepage" : " https://grpc.io/" ,
6
6
"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 {
110
110
channelControlHelper ,
111
111
{
112
112
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
+ }
113
120
this . calculateAndUpdateState ( ) ;
114
121
} ,
115
122
}
You can’t perform that action at this time.
0 commit comments