mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Longer wait until requesting status again after request error
This commit is contained in:
parent
d071bc50a4
commit
a3c4429e0b
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ var usersWindow = (function () {
|
|||
updateWindow();
|
||||
} else {
|
||||
print("Error: Request for users status returned " + usersRequest.status + " " + usersRequest.statusText);
|
||||
usersTimer = Script.setTimeout(requestUsers, HTTP_GET_TIMEOUT); // Try again after a longer delay.
|
||||
return;
|
||||
}
|
||||
|
||||
usersTimer = Script.setTimeout(requestUsers, UPDATE_TIMEOUT); // Update after finished processing.
|
||||
|
|
Loading…
Reference in a new issue