mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Raised retry time from 10 seconds to 180 seconds (3 mins).
This commit is contained in:
@@ -420,7 +420,8 @@ function sponsorsLookup(id, channelIDPromise) {
|
|||||||
|
|
||||||
//if less than 3 days old
|
//if less than 3 days old
|
||||||
if ((Date.now() / 1000) - unixTimePublished < 259200) {
|
if ((Date.now() / 1000) - unixTimePublished < 259200) {
|
||||||
setTimeout(() => sponsorsLookup(id), 10000);
|
//TODO lower when server becomes better
|
||||||
|
setTimeout(() => sponsorsLookup(id), 180000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user