aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-11-14 14:53:40 -0500
committerAjay Ramachandran <[email protected]>2019-11-14 14:53:40 -0500
commit9267f361652b48ddf271e3b15d8f63ec08a0a363 (patch)
tree125252231245799820a630b3808753ccbcd6c461
parenta3214f0fa744a9f45cb7fa7efc423768e096aed1 (diff)
downloadSponsorBlock-9267f361652b48ddf271e3b15d8f63ec08a0a363.tar.gz
SponsorBlock-9267f361652b48ddf271e3b15d8f63ec08a0a363.zip
Raised retry time from 10 seconds to 180 seconds (3 mins).
-rw-r--r--content.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/content.js b/content.js
index f889e7d1..1e79619a 100644
--- a/content.js
+++ b/content.js
@@ -420,7 +420,8 @@ function sponsorsLookup(id, channelIDPromise) {
//if less than 3 days old
if ((Date.now() / 1000) - unixTimePublished < 259200) {
- setTimeout(() => sponsorsLookup(id), 10000);
+ //TODO lower when server becomes better
+ setTimeout(() => sponsorsLookup(id), 180000);
}
}
});