mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 08:44:29 +00:00
fix: increase XMLHttpRequest timeout to 5000ms for status updates
This commit is contained in:
parent
317dba5e78
commit
426255f5ee
@ -17,7 +17,7 @@
|
||||
function updateStatus() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', statusUrl, true);
|
||||
xhr.timeout = 4000;
|
||||
xhr.timeout = 5000;
|
||||
|
||||
xhr.onreadystatechange = function () {
|
||||
if (xhr.readyState === 4) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user