mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
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…
x
Reference in New Issue
Block a user