[scraper] disable swarm seeders update for now
This commit is contained in:
parent
2434482d99
commit
dc35b4e982
1 changed files with 4 additions and 4 deletions
|
|
@ -33,10 +33,10 @@ async function _updateSeeders(torrent) {
|
|||
return []
|
||||
});
|
||||
|
||||
if (!updatedTorrents.find(updated => updated.infoHash === torrent.infoHash)) {
|
||||
await forceSeedersLimiter.schedule(() => updateCurrentSeeders(torrent))
|
||||
.then(updated => updatedTorrents.push(updated));
|
||||
}
|
||||
// if (!updatedTorrents.find(updated => updated.infoHash === torrent.infoHash)) {
|
||||
// await forceSeedersLimiter.schedule(() => updateCurrentSeeders(torrent))
|
||||
// .then(updated => updatedTorrents.push(updated));
|
||||
// }
|
||||
|
||||
return Promise.all(updatedTorrents.map(updated => updateLimiter.schedule(() => updateTorrentSeeders(updated))));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue