mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Fix not zero metrics for 1.3 values
This commit is contained in:
parent
8ba89179f1
commit
a4bbb728e6
1 changed files with 3 additions and 0 deletions
|
@ -212,6 +212,9 @@ func (m *Metrics) zeroMetrics() {
|
||||||
m.clientDeniedCount = 0
|
m.clientDeniedCount = 0
|
||||||
m.clientRestrictedDeniedCount = 0
|
m.clientRestrictedDeniedCount = 0
|
||||||
m.clientUnrestrictedDeniedCount = 0
|
m.clientUnrestrictedDeniedCount = 0
|
||||||
|
m.proxyPollRejectedWithRelayURLExtension = 0
|
||||||
|
m.proxyPollWithRelayURLExtension = 0
|
||||||
|
m.proxyPollWithoutRelayURLExtension = 0
|
||||||
m.clientProxyMatchCount = 0
|
m.clientProxyMatchCount = 0
|
||||||
m.countryStats.counts = make(map[string]int)
|
m.countryStats.counts = make(map[string]int)
|
||||||
for pType := range m.countryStats.proxies {
|
for pType := range m.countryStats.proxies {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue