aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/Config.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-05-18 04:34:34 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-05-18 08:46:04 +0200
commit1446a59fa594be49277d1ec9d7fe023949bcfc55 (patch)
tree8aebb7a227ef7498d028c53fabbc4157a567ad8b /src/main/java/eu/siacs/conversations/Config.java
parentfbc43a8d38e62fc2a3b60e7c363c8fe1e2668cc6 (diff)
use a 20s timeout on socks5 connections
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 9f5d14fd..050116b5 100644
--- a/src/main/java/eu/siacs/conversations/Config.java
+++ b/src/main/java/eu/siacs/conversations/Config.java
@@ -11,6 +11,7 @@ public final class Config {
public static final int PING_MAX_INTERVAL = 300;
public static final int PING_MIN_INTERVAL = 30;
public static final int PING_TIMEOUT = 10;
+ public static final int SOCKET_TIMEOUT = 20;
public static final int CONNECT_TIMEOUT = 90;
public static final int CARBON_GRACE_PERIOD = 60;
public static final int MINI_GRACE_PERIOD = 750;