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:
parent
1b3e37b9ed
commit
9b48d0c7a5
@ -47,7 +47,7 @@ func (me *trackerScraper) announce() time.Duration {
|
|||||||
me.t.cl.mu.Unlock()
|
me.t.cl.mu.Unlock()
|
||||||
res, err := tracker.AnnounceHost(urlToUse, &req, host)
|
res, err := tracker.AnnounceHost(urlToUse, &req, host)
|
||||||
if err != nil {
|
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
|
return 5 * time.Minute
|
||||||
}
|
}
|
||||||
me.t.AddPeers(trackerToTorrentPeers(res.Peers))
|
me.t.AddPeers(trackerToTorrentPeers(res.Peers))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user