mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
metrics: Decrement hs_intro_established_count on intro circuit close.
Closes #40751. Signed-off-by: Gabriela Moldovan <gabi@torproject.org>
This commit is contained in:
parent
e390a7cdee
commit
21b3397f9b
2 changed files with 4 additions and 1 deletions
3
changes/bug40751
Normal file
3
changes/bug40751
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
o Minor bugfixes (metrics):
|
||||||
|
- Decrement hs_intro_established_count on introduction circuit close. Fixes
|
||||||
|
bug 40751; bugfix on 0.4.7.12.
|
|
@ -65,6 +65,6 @@ void hs_metrics_update_by_service(const hs_metrics_key_t key,
|
||||||
/** Established introduction circuit closes. This is called when
|
/** Established introduction circuit closes. This is called when
|
||||||
* INTRO_ESTABLISHED circuit is marked for close. */
|
* INTRO_ESTABLISHED circuit is marked for close. */
|
||||||
#define hs_metrics_close_established_intro(i) \
|
#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) */
|
#endif /* !defined(TOR_FEATURE_HS_HS_METRICS_H) */
|
||||||
|
|
Loading…
Add table
Reference in a new issue