Increase auto-update timeout to 10 seconds #64

This commit is contained in:
4pr0n 2014-06-12 00:38:19 -07:00
parent 8b2d30496d
commit 2307dc454a

View File

@ -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) {