From 334f0dcdb5ecec9c7ece114f6d5cf8c7b0ca7ebc Mon Sep 17 00:00:00 2001 From: David Fiala Date: Tue, 28 May 2024 14:58:59 -0700 Subject: [PATCH] remove comment --- packages/grpc-js/src/server.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/grpc-js/src/server.ts b/packages/grpc-js/src/server.ts index c4d87af3..aed65bbb 100644 --- a/packages/grpc-js/src/server.ts +++ b/packages/grpc-js/src/server.ts @@ -1421,8 +1421,6 @@ export class Server { if (this.keepaliveTimeMs < KEEPALIVE_MAX_TIME_MS) { keepaliveInterval = setInterval(() => { - // NOTE to self: document in PR that prior implementation would overwrite the prior pending timeout - // if the timeout had not occurred before the prior interval had elapsed (bad bug) const keepaliveTimeout = setTimeout(() => { if (keepaliveInterval) { clearInterval(keepaliveInterval);