Webserver: -mod: set request timeout to 10 seconds
This commit is contained in:
1 parent
b7ab42949e
commit
6c6a6578bd
1 file changed
+4
@@ -1056,6 +1056,10 @@ function request(data, message) {
|
|||||||
if ((typeof message) == "undefined" || message == null) {
|
if ((typeof message) == "undefined" || message == null) {
|
||||||
message = "Loading...";
|
message = "Loading...";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((typeof data.timeout) == "undefined") {
|
||||||
|
data.timeout = 10000; //10 sec. timeout
|
||||||
|
}
|
||||||
|
|
||||||
if (message != "noOverlay") {
|
if (message != "noOverlay") {
|
||||||
if (i18n.t) {
|
if (i18n.t) {
|
||||||
|
|||||||
Reference in new issue
Block a user