mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] disable swarm seeders update for now
This commit is contained in:
@@ -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))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user