mirror of https://github.com/grpc/grpc-node.git
remove comment
This commit is contained in:
parent
ad598ecbe4
commit
334f0dcdb5
|
@ -1421,8 +1421,6 @@ export class Server {
|
||||||
|
|
||||||
if (this.keepaliveTimeMs < KEEPALIVE_MAX_TIME_MS) {
|
if (this.keepaliveTimeMs < KEEPALIVE_MAX_TIME_MS) {
|
||||||
keepaliveInterval = setInterval(() => {
|
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(() => {
|
const keepaliveTimeout = setTimeout(() => {
|
||||||
if (keepaliveInterval) {
|
if (keepaliveInterval) {
|
||||||
clearInterval(keepaliveInterval);
|
clearInterval(keepaliveInterval);
|
||||||
|
|
Loading…
Reference in New Issue