mirror of https://github.com/grpc/grpc-node.git
Don't double count sessions when closing
This commit is contained in:
parent
cb9f96126f
commit
f4853c13f7
|
@ -500,7 +500,6 @@ export class Server {
|
|||
}
|
||||
}
|
||||
|
||||
pendingChecks += this.sessions.size;
|
||||
this.sessions.forEach((session) => {
|
||||
if (!session.closed) {
|
||||
pendingChecks += 1;
|
||||
|
|
Loading…
Reference in New Issue