]> Sergey Matveev's repositories - btrtrc.git/blobdiff - global.go
Move chunk expvars into torrent prefix
[btrtrc.git] / global.go
index 5875fd149700ce35e2e06652e57ab75e57ee8bd4..43b84ee192c2b00678bbdfedec2b9e5b05acada4 100644 (file)
--- a/global.go
+++ b/global.go
@@ -23,10 +23,6 @@ func defaultPeerExtensionBytes() peerExtensionBytes {
 // I could move a lot of these counters to their own file, but I suspect they
 // may be attached to a Client someday.
 var (
-       unwantedChunksReceived   = expvar.NewInt("chunksReceivedUnwanted")
-       unexpectedChunksReceived = expvar.NewInt("chunksReceivedUnexpected")
-       chunksReceived           = expvar.NewInt("chunksReceived")
-
        torrent = expvar.NewMap("torrent")
 
        peersAddedBySource = expvar.NewMap("peersAddedBySource")