From: Matt Joiner Date: Tue, 12 Jun 2018 10:23:26 +0000 (+1000) Subject: Remove duplicateClientConns expvar X-Git-Tag: v1.0.0~127^2~36 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=817344d6307a3091a6a46129749721ec9841c1bf;p=btrtrc.git Remove duplicateClientConns expvar --- diff --git a/global.go b/global.go index cdd03513..5b4132bf 100644 --- 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")