[scraper] revert seeders delay reduce

This commit is contained in:
TheBeastLT
2021-02-09 13:45:24 +01:00
parent 849e308e75
commit 8a10ae13e2
2 changed files with 13 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ const statistics = {};
function scheduleUpdateSeeders() {
console.log('Starting seeders update...')
return repository.getUpdateSeedersTorrents(100)
return repository.getUpdateSeedersTorrents(50)
.then(torrents => updateCurrentSeeders(torrents))
.then(updatedTorrents => Promise.all(
updatedTorrents.map(updated => updateLimiter.schedule(() => updateTorrentSeeders(updated)))))