From e58371033f6cd086fcf9406526a4eb7f30ccc494 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 1 Apr 2022 10:46:39 -0700 Subject: [PATCH] grpc-js-xds: Don't stop backoff timers for ADS streams --- packages/grpc-js-xds/package.json | 2 +- packages/grpc-js-xds/src/xds-client.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/grpc-js-xds/package.json b/packages/grpc-js-xds/package.json index c797f63f..9062403c 100644 --- a/packages/grpc-js-xds/package.json +++ b/packages/grpc-js-xds/package.json @@ -1,6 +1,6 @@ { "name": "@grpc/grpc-js-xds", - "version": "1.6.0", + "version": "1.6.1", "description": "Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.", "main": "build/src/index.js", "scripts": { diff --git a/packages/grpc-js-xds/src/xds-client.ts b/packages/grpc-js-xds/src/xds-client.ts index 75a567a5..7a12af1f 100644 --- a/packages/grpc-js-xds/src/xds-client.ts +++ b/packages/grpc-js-xds/src/xds-client.ts @@ -688,7 +688,6 @@ export class XdsClient { ack(serviceKind: AdsServiceKind) { /* An ack is the best indication of a successful interaction between the * client and the server, so we can reset the backoff timer here. */ - this.adsBackoff.stop(); this.adsBackoff.reset(); this.updateNames(serviceKind);