浏览代码

Adds timeout for the AJAX prebind request

dev1
hristoterezov 9 年前
父节点
当前提交
80a2c3383f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      connection_optimization/external_connect.js

+ 2
- 0
connection_optimization/external_connect.js 查看文件

47
         }
47
         }
48
     };
48
     };
49
 
49
 
50
+    xhttp.timeout = 3000;
51
+
50
     xhttp.open("GET", webserviceUrl, true);
52
     xhttp.open("GET", webserviceUrl, true);
51
     xhttp.send();
53
     xhttp.send();
52
 }
54
 }

正在加载...
取消
保存