Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Only show added message if actually added to queue

Cette révision appartient à :
ElegantMonkey 2017-05-14 21:21:04 -03:00
Parent df2c9bc2f7
révision b9904161f0

Voir le fichier

@ -247,10 +247,9 @@ func (fetcher *MetainfoFetcher) fillQueue() {
continue
}
log.Infof("Added TID %d for filesize fetching", T.ID)
operation := NewFetchOperation(fetcher, T)
if fetcher.addToQueue(operation) {
log.Infof("Added TID %d for filesize fetching", T.ID)
fetcher.wg.Add(1)
go operation.Start(fetcher.results)
} else {