mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1444 from murgatroid99/grpc-js_actually_backoff
grpc-js: Properly back off when transitioning through IDLE
This commit is contained in:
commit
658961d2ff
|
@ -507,10 +507,6 @@ export class Subchannel {
|
||||||
this.stopKeepalivePings();
|
this.stopKeepalivePings();
|
||||||
break;
|
break;
|
||||||
case ConnectivityState.IDLE:
|
case ConnectivityState.IDLE:
|
||||||
/* Stopping the backoff timer here is probably redundant because we
|
|
||||||
* should only transition to the IDLE state as a result of the timer
|
|
||||||
* ending, but we still want to reset the backoff timeout. */
|
|
||||||
this.stopBackoff();
|
|
||||||
if (this.session) {
|
if (this.session) {
|
||||||
this.session.close();
|
this.session.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue