Fix server statistics (#5575)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-05-10 19:12:13 +04:00 committed by GitHub
parent c0348bf313
commit b65dbd2d58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -951,6 +951,7 @@ class TSessionManager implements SessionManager {
if (service.measureCtx !== undefined) {
serverTime = Date.now() - service.measureCtx.time
service.measureCtx.ctx.end(serverTime)
service.measureCtx = undefined
}
}
try {