Increase auto-update timeout to 10 seconds #64
This commit is contained in:
parent
8b2d30496d
commit
2307dc454a
@ -42,6 +42,7 @@ public class UpdateUtils {
|
|||||||
Document doc = null;
|
Document doc = null;
|
||||||
try {
|
try {
|
||||||
doc = Jsoup.connect(UpdateUtils.updateJsonURL)
|
doc = Jsoup.connect(UpdateUtils.updateJsonURL)
|
||||||
|
.timeout(10 * 1000)
|
||||||
.ignoreContentType(true)
|
.ignoreContentType(true)
|
||||||
.get();
|
.get();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user