From 8eedc1a57fbf79212028fed7e87fb36d6143e0d5 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Fri, 27 Jun 2014 11:42:31 +0200 Subject: [PATCH] raised ping time out --- .../siacs/conversations/services/XmppConnectionService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index b7c32db24..e234fd40b 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";