Suppress tracker scraping errors until I decide what to do with them

They're not really necessary, but I had them enabled while I rewrote the tracker scraper code.
This commit is contained in:
Matt Joiner 2016-06-18 17:23:53 +10:00
parent 1b3e37b9ed
commit 9b48d0c7a5
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func (me *trackerScraper) announce() time.Duration {
me.t.cl.mu.Unlock()
res, err := tracker.AnnounceHost(urlToUse, &req, host)
if err != nil {
log.Printf("error announcing %s %q to %q: %s", me.t.InfoHash().HexString(), me.t.Name(), me.url, err)
// log.Printf("error announcing %s %q to %q: %s", me.t.InfoHash().HexString(), me.t.Name(), me.url, err)
return 5 * time.Minute
}
me.t.AddPeers(trackerToTorrentPeers(res.Peers))