aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-07-02 20:03:10 +0200
committerChristian Schneppe <christian@pix-art.de>2016-07-02 20:03:10 +0200
commita11c52e679e06db94d887a29c39a67b625cdc52e (patch)
treef5507a156a9f836d689165bbf9dfbf2aa8b713ff /src/main/java/eu/siacs/conversations
parent42b91f8d8618e17413e80294b879d280647b61f3 (diff)
set timeout correctly
Diffstat (limited to 'src/main/java/eu/siacs/conversations')
-rw-r--r--src/main/java/eu/siacs/conversations/services/UpdaterWebService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/UpdaterWebService.java b/src/main/java/eu/siacs/conversations/services/UpdaterWebService.java
index dbeaee2b8..0a8d0ef69 100644
--- a/src/main/java/eu/siacs/conversations/services/UpdaterWebService.java
+++ b/src/main/java/eu/siacs/conversations/services/UpdaterWebService.java
@@ -29,8 +29,8 @@ public class UpdaterWebService extends IntentService {
public static final String RESPONSE_MESSAGE = "";
private String URL = null;
- public static final int REGISTRATION_TIMEOUT = Config.SOCKET_TIMEOUT;
- public static final int WAIT_TIMEOUT = Config.CONNECT_TIMEOUT;
+ public static final int REGISTRATION_TIMEOUT = Config.SOCKET_TIMEOUT * 1000;
+ public static final int WAIT_TIMEOUT = Config.CONNECT_TIMEOUT * 1000;
public UpdaterWebService() {
super("UpdaterWebService");