diff options
author | Gabriela Moldovan <gabi@torproject.org> | 2023-02-10 20:31:36 +0000 |
---|---|---|
committer | Gabriela Moldovan <gabi@torproject.org> | 2023-02-10 20:31:36 +0000 |
commit | 21b3397f9b0803134bc458b83cd161de259887fd (patch) | |
tree | 151dc5b940e3476a3184e4a90616bb21bba84e09 /src/feature | |
parent | e390a7cdee2dab0abcbaf06fad9d03b028377a70 (diff) | |
download | tor-21b3397f9b0803134bc458b83cd161de259887fd.tar.gz tor-21b3397f9b0803134bc458b83cd161de259887fd.zip |
metrics: Decrement hs_intro_established_count on intro circuit close.
Closes #40751.
Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/hs/hs_metrics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_metrics.h b/src/feature/hs/hs_metrics.h index 6af3a7e7f0..2e0fa5048d 100644 --- a/src/feature/hs/hs_metrics.h +++ b/src/feature/hs/hs_metrics.h @@ -65,6 +65,6 @@ void hs_metrics_update_by_service(const hs_metrics_key_t key, /** Established introduction circuit closes. This is called when * INTRO_ESTABLISHED circuit is marked for close. */ #define hs_metrics_close_established_intro(i) \ - hs_metrics_update_by_ident(HS_METRICS_NUM_ESTABLISHED_INTRO, (i), 0, 1) + hs_metrics_update_by_ident(HS_METRICS_NUM_ESTABLISHED_INTRO, (i), 0, -1) #endif /* !defined(TOR_FEATURE_HS_HS_METRICS_H) */ |