fix: increase XMLHttpRequest timeout to 5000ms for status updates

This commit is contained in:
SunBK201 2025-12-07 15:37:58 +08:00
parent 317dba5e78
commit 426255f5ee

View File

@ -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) {