[tor-commits] [pluggable-transports/snowflake] 27/31: Fix not zero metrics for 1.3 values
gitolite role
git at cupani.torproject.org
Thu Jun 16 17:04:14 UTC 2022
This is an automated email from the git hooks/post-receive script.
shelikhoo pushed a commit to branch main
in repository pluggable-transports/snowflake.
commit a4bbb728e611dbf5bd8e2021e8b1e654923e5c1d
Author: Shelikhoo <xiaokangwang at outlook.com>
AuthorDate: Wed May 18 15:52:46 2022 +0100
Fix not zero metrics for 1.3 values
---
broker/metrics.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/broker/metrics.go b/broker/metrics.go
index eecc137..639d505 100644
--- a/broker/metrics.go
+++ b/broker/metrics.go
@@ -212,6 +212,9 @@ func (m *Metrics) zeroMetrics() {
m.clientDeniedCount = 0
m.clientRestrictedDeniedCount = 0
m.clientUnrestrictedDeniedCount = 0
+ m.proxyPollRejectedWithRelayURLExtension = 0
+ m.proxyPollWithRelayURLExtension = 0
+ m.proxyPollWithoutRelayURLExtension = 0
m.clientProxyMatchCount = 0
m.countryStats.counts = make(map[string]int)
for pType := range m.countryStats.proxies {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list