Increased retry timeout when the server is down.

This commit is contained in:
Ajay Ramachandran
2019-11-14 14:59:44 -05:00
parent 9267f36165
commit 831a3c1b5a
2 changed files with 3 additions and 2 deletions

View File

@@ -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++;
}

View File

@@ -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": [