Better timeout defaults for intermediary page
In some situations an error could be displayed otherwise since online.gif was available, intermediary.gif wasn't anymore, but pinging the latter timed out before the next ping of the former. (cherry picked from commit 7809ba8)
This commit is contained in:
parent
674d625150
commit
eeaf68d61a
1 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@
|
|||
}
|
||||
} else {
|
||||
// online.gif still not available, let's look at
|
||||
var interval = 15;
|
||||
var interval = 10;
|
||||
if (intervals.length) {
|
||||
interval = intervals.shift();
|
||||
}
|
||||
|
|
@ -200,7 +200,7 @@
|
|||
}
|
||||
|
||||
backendOfflineCounter++;
|
||||
if (backendOfflineCounter > 10) {
|
||||
if (backendOfflineCounter > 15) {
|
||||
if (serverTimeout) {
|
||||
window.clearTimeout(serverTimeout);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue