diff options
author | Ajay Ramachandran <[email protected]> | 2019-11-14 14:59:44 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2019-11-14 14:59:44 -0500 |
commit | 831a3c1b5af90d8b5d9b875edd4bc5bb585b9ac9 (patch) | |
tree | 6c14d63362fb2a26d6360a01124789adda88a854 | |
parent | 9267f361652b48ddf271e3b15d8f63ec08a0a363 (diff) | |
download | SponsorBlock-831a3c1b5af90d8b5d9b875edd4bc5bb585b9ac9.tar.gz SponsorBlock-831a3c1b5af90d8b5d9b875edd4bc5bb585b9ac9.zip |
Increased retry timeout when the server is down.
-rw-r--r-- | content.js | 3 | ||||
-rw-r--r-- | manifest.json | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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": [ |