mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-06 05:47:29 +02:00
Increase auto-update timeout to 10 seconds #64
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user