Merge pull request #1444 from murgatroid99/grpc-js_actually_backoff

grpc-js: Properly back off when transitioning through IDLE
This commit is contained in:
Michael Lumish 2020-06-03 16:28:17 -07:00 committed by GitHub
commit 658961d2ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -507,10 +507,6 @@ export class Subchannel {
this.stopKeepalivePings();
break;
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) {
this.session.close();
}