diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-27 11:42:31 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-27 11:42:31 +0200 |
commit | 8eedc1a57fbf79212028fed7e87fb36d6143e0d5 (patch) | |
tree | becdb1132fc256e905a1fb42ff6dd31a2904f296 | |
parent | ed3b535e6c6383a15e24ea186fe541d8b0a13195 (diff) |
raised ping time out
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index b7c32db2..e234fd40 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -80,9 +80,9 @@ public class XmppConnectionService extends Service { public long startDate; private static final int PING_MAX_INTERVAL = 300; - private static final int PING_MIN_INTERVAL = 10; - private static final int PING_TIMEOUT = 5; - private static final int CONNECT_TIMEOUT = 60; + private static final int PING_MIN_INTERVAL = 30; + private static final int PING_TIMEOUT = 10; + private static final int CONNECT_TIMEOUT = 90; private static final long CARBON_GRACE_PERIOD = 60000L; private static String ACTION_MERGE_PHONE_CONTACTS = "merge_phone_contacts"; |