]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Don't log each applied request
authorMatt Joiner <anacrolix@gmail.com>
Thu, 13 May 2021 03:49:57 +0000 (13:49 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 7 Jun 2021 03:01:39 +0000 (13:01 +1000)
request-strategy.go

index cb30d39aa0853fc20b8a551a18767b20fa4e9f38..21596a23192a6c289996e3b3ce9caf7b19e8261f 100644 (file)
@@ -1,7 +1,6 @@
 package torrent
 
 import (
-       "log"
        "time"
        "unsafe"
 
@@ -95,7 +94,7 @@ func applyPeerNextRequestState(_p request_strategy.PeerId, rp request_strategy.P
                if err != nil {
                        panic(err)
                } else {
-                       log.Print(req)
+                       //log.Print(req)
                }
        }
 }