提交 7605525b authored 作者: Thomas Mueller's avatar Thomas Mueller

Increase the socket timeout.

上级 2009983c
...@@ -43,6 +43,7 @@ public class UploadBuild { ...@@ -43,6 +43,7 @@ public class UploadBuild {
* @param args the command line parameters * @param args the command line parameters
*/ */
public static void main(String... args) throws Exception { public static void main(String... args) throws Exception {
System.setProperty("h2.socketConnectTimeout", "30000");
byte[] data = IOUtils.readBytesAndClose(new FileInputStream("coverage/index.html"), -1); byte[] data = IOUtils.readBytesAndClose(new FileInputStream("coverage/index.html"), -1);
String index = new String(data, "ISO-8859-1"); String index = new String(data, "ISO-8859-1");
while (true) { while (true) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论