mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-07 14:26:36 +02:00
Increase auto-update timeout to 10 seconds #64
This commit is contained in:
@@ -42,8 +42,9 @@ public class UpdateUtils {
|
|||||||
Document doc = null;
|
Document doc = null;
|
||||||
try {
|
try {
|
||||||
doc = Jsoup.connect(UpdateUtils.updateJsonURL)
|
doc = Jsoup.connect(UpdateUtils.updateJsonURL)
|
||||||
.ignoreContentType(true)
|
.timeout(10 * 1000)
|
||||||
.get();
|
.ignoreContentType(true)
|
||||||
|
.get();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
logger.error("Error while fetching update: ", e);
|
logger.error("Error while fetching update: ", e);
|
||||||
JOptionPane.showMessageDialog(null,
|
JOptionPane.showMessageDialog(null,
|
||||||
|
Reference in New Issue
Block a user