mirror of https://github.com/grpc/grpc-node.git
grpc-js: Don't time out connection attempts
This commit is contained in:
parent
f7e2a2df3b
commit
dd88ddc6b1
|
@ -230,12 +230,12 @@ export class Subchannel {
|
|||
this.backoffTimeout = new BackoffTimeout(() => {
|
||||
if (this.continueConnecting) {
|
||||
this.transitionToState(
|
||||
[ConnectivityState.TRANSIENT_FAILURE, ConnectivityState.CONNECTING],
|
||||
[ConnectivityState.TRANSIENT_FAILURE],
|
||||
ConnectivityState.CONNECTING
|
||||
);
|
||||
} else {
|
||||
this.transitionToState(
|
||||
[ConnectivityState.TRANSIENT_FAILURE, ConnectivityState.CONNECTING],
|
||||
[ConnectivityState.TRANSIENT_FAILURE],
|
||||
ConnectivityState.IDLE
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue