aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-11-14 14:59:44 -0500
committerAjay Ramachandran <[email protected]>2019-11-14 14:59:44 -0500
commit831a3c1b5af90d8b5d9b875edd4bc5bb585b9ac9 (patch)
tree6c14d63362fb2a26d6360a01124789adda88a854
parent9267f361652b48ddf271e3b15d8f63ec08a0a363 (diff)
downloadSponsorBlock-831a3c1b5af90d8b5d9b875edd4bc5bb585b9ac9.tar.gz
SponsorBlock-831a3c1b5af90d8b5d9b875edd4bc5bb585b9ac9.zip
Increased retry timeout when the server is down.
-rw-r--r--content.js3
-rw-r--r--manifest.json2
2 files changed, 3 insertions, 2 deletions
diff --git a/content.js b/content.js
index 1e79619a..276c93c9 100644
--- a/content.js
+++ b/content.js
@@ -430,8 +430,9 @@ function sponsorsLookup(id, channelIDPromise) {
} else if (xmlhttp.readyState == 4 && sponsorLookupRetries < 90 && !recheckStarted) {
recheckStarted = true;
+ //TODO lower when server becomes better (back to 1 second)
//some error occurred, try again in a second
- setTimeout(() => sponsorsLookup(id), 1000);
+ setTimeout(() => sponsorsLookup(id), 10000);
sponsorLookupRetries++;
}
diff --git a/manifest.json b/manifest.json
index 41afd05d..7ba848f2 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "__MSG_Name__",
- "version": "1.1.9.2",
+ "version": "1.1.9.3",
"default_locale": "en",
"description": "__MSG_Description__",
"content_scripts": [