mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2586 from murgatroid99/grpc-js_round_robin_backoff_ref
grpc-js: Unref backoff timer in subchannel
This commit is contained in:
commit
7e53472048
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@grpc/grpc-js",
|
||||
"version": "1.9.3",
|
||||
"version": "1.9.4",
|
||||
"description": "gRPC Library for Node - pure JS implementation",
|
||||
"homepage": "https://grpc.io/",
|
||||
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
||||
|
|
|
@ -120,6 +120,7 @@ export class Subchannel {
|
|||
this.backoffTimeout = new BackoffTimeout(() => {
|
||||
this.handleBackoffTimer();
|
||||
}, backoffOptions);
|
||||
this.backoffTimeout.unref();
|
||||
this.subchannelAddressString = subchannelAddressToString(subchannelAddress);
|
||||
|
||||
this.keepaliveTime = options['grpc.keepalive_time_ms'] ?? -1;
|
||||
|
|
Loading…
Reference in New Issue