diff options
author | spuchin <spuchin@yandex-team.ru> | 2022-02-10 16:48:16 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:16 +0300 |
commit | aab7e440a1750bc0841b355dcc4f388f31e5f5e3 (patch) | |
tree | c4ea3bd0ac108e34c329b483ba6ce11e25dfd005 /library/cpp/grpc/server/grpc_counters.h | |
parent | 47dc960d070b29aa93972d1d49088393af89383f (diff) | |
download | ydb-aab7e440a1750bc0841b355dcc4f388f31e5f5e3.tar.gz |
Restoring authorship annotation for <spuchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/grpc/server/grpc_counters.h')
-rw-r--r-- | library/cpp/grpc/server/grpc_counters.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/grpc/server/grpc_counters.h b/library/cpp/grpc/server/grpc_counters.h index 0b6c36c84c..e8f0ca2179 100644 --- a/library/cpp/grpc/server/grpc_counters.h +++ b/library/cpp/grpc/server/grpc_counters.h @@ -97,11 +97,11 @@ public: *InflyRequestBytes += requestSize; } - void FinishProcessing(ui32 requestSize, ui32 responseSize, bool ok, ui32 status, - TDuration requestDuration) override - { - Y_UNUSED(status); - + void FinishProcessing(ui32 requestSize, ui32 responseSize, bool ok, ui32 status, + TDuration requestDuration) override + { + Y_UNUSED(status); + InflyCounter->Dec(); *InflyRequestBytes -= requestSize; *ResponseBytes += responseSize; |