aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/Config.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-12-15 19:14:38 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-12-15 19:24:05 +0100
commit43dd681239ea5a287f5761597de5dcdc4daed3de (patch)
tree90ae48c08f096cebe8d222edbd1df850edee8ae3 /src/main/java/eu/siacs/conversations/Config.java
parent85f36e9dbc416d0644bcc0e1f7d3790124786579 (diff)
timeout service discovery after 20s
Diffstat (limited to 'src/main/java/eu/siacs/conversations/Config.java')
-rw-r--r--src/main/java/eu/siacs/conversations/Config.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/Config.java b/src/main/java/eu/siacs/conversations/Config.java
index 8b76ba90..b1534a7a 100644
--- a/src/main/java/eu/siacs/conversations/Config.java
+++ b/src/main/java/eu/siacs/conversations/Config.java
@@ -24,6 +24,7 @@ public final class Config {
public static final int PING_TIMEOUT = 15;
public static final int SOCKET_TIMEOUT = 15;
public static final int CONNECT_TIMEOUT = 90;
+ public static final int CONNECT_DISCO_TIMEOUT = 20;
public static final int CARBON_GRACE_PERIOD = 90;
public static final int MINI_GRACE_PERIOD = 750;