Fix not zero metrics for 1.3 values

This commit is contained in:
Shelikhoo 2022-05-18 15:52:46 +01:00
parent 8ba89179f1
commit a4bbb728e6
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316

View file

@ -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 {