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;
|
||||
try {
|
||||
doc = Jsoup.connect(UpdateUtils.updateJsonURL)
|
||||
.timeout(10 * 1000)
|
||||
.ignoreContentType(true)
|
||||
.get();
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user