mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: slower hardware can hit the schema update response timeout (#7296)
Update the timeout from 40s to 90s.
This commit is contained in:
committed by
Neil Lathwood
parent
dc110d2d97
commit
8bacb053c9
@ -312,7 +312,7 @@ echo "</td></tr>";
|
|||||||
output.innerHTML = e.currentTarget.responseText;
|
output.innerHTML = e.currentTarget.responseText;
|
||||||
output.scrollTop = output.scrollHeight - output.clientHeight; // scrolls the output area
|
output.scrollTop = output.scrollHeight - output.clientHeight; // scrolls the output area
|
||||||
};
|
};
|
||||||
xhr.timeout = 40000; // if no response for 40s, allow the user to retry
|
xhr.timeout = 90000; // if no response for 90s, allow the user to retry
|
||||||
xhr.ontimeout = function (e) {
|
xhr.ontimeout = function (e) {
|
||||||
$("#retry-btn").css("display", "");
|
$("#retry-btn").css("display", "");
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user