diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-07-02 20:03:10 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-07-02 20:03:10 +0200 |
commit | a11c52e679e06db94d887a29c39a67b625cdc52e (patch) | |
tree | f5507a156a9f836d689165bbf9dfbf2aa8b713ff /src/main/java/eu | |
parent | 42b91f8d8618e17413e80294b879d280647b61f3 (diff) |
set timeout correctly
Diffstat (limited to 'src/main/java/eu')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/UpdaterWebService.java | 4 |
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"); |