From e6099d71f2764b8abeaf9d1bbf166c73b55bf2fd Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 26 Sep 2023 15:17:55 -0700 Subject: [PATCH 1/2] grpc-js: Unref backoff timer in subchannel --- packages/grpc-js/src/subchannel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/grpc-js/src/subchannel.ts b/packages/grpc-js/src/subchannel.ts index 91455f7c1..0f8844720 100644 --- a/packages/grpc-js/src/subchannel.ts +++ b/packages/grpc-js/src/subchannel.ts @@ -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; From ea6ba89ead05b603d42a5075b47e05107e684c02 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 26 Sep 2023 16:35:13 -0700 Subject: [PATCH 2/2] grpc-js: Bump version to 1.9.4 --- packages/grpc-js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-js/package.json b/packages/grpc-js/package.json index 7b8801212..5dbf72506 100644 --- a/packages/grpc-js/package.json +++ b/packages/grpc-js/package.json @@ -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",