]> Sergey Matveev's repositories - btrtrc.git/blobdiff - global.go
Remove duplicateClientConns expvar
[btrtrc.git] / global.go
index cdd0351386673f7c6790c7df038c5760ebcd8485..5b4132bf18ec2f57a0ae41b1be36142f62db3397 100644 (file)
--- a/global.go
+++ b/global.go
@@ -40,9 +40,7 @@ var (
        peerExtensions                    = expvar.NewMap("peerExtensions")
        completedHandshakeConnectionFlags = expvar.NewMap("completedHandshakeConnectionFlags")
        // Count of connections to peer with same client ID.
-       connsToSelf = expvar.NewInt("connsToSelf")
-       // Number of completed connections to a client we're already connected with.
-       duplicateClientConns       = expvar.NewInt("duplicateClientConns")
+       connsToSelf                = expvar.NewInt("connsToSelf")
        receivedKeepalives         = expvar.NewInt("receivedKeepalives")
        supportedExtensionMessages = expvar.NewMap("supportedExtensionMessages")
        postedKeepalives           = expvar.NewInt("postedKeepalives")