summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorJohann Latocha2012-02-16 16:51:15 +0100
committerJohann Latocha2012-02-16 16:51:15 +0100
commitb618a4af91bf03a2828b867c7009338972a169d6 (patch)
tree2e74f6a70a3596ea70ab738cd434942307fa2051 /src/config.h
parent[BUILD] Don't overwrite existing config files (diff)
downloaddnbd3-b618a4af91bf03a2828b867c7009338972a169d6.tar.gz
dnbd3-b618a4af91bf03a2828b867c7009338972a169d6.tar.xz
dnbd3-b618a4af91bf03a2828b867c7009338972a169d6.zip
[KERNEL] Switch server on connection lost
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 8506ed6..4b4fb6f 100644
--- a/src/config.h
+++ b/src/config.h
@@ -25,7 +25,8 @@
#define PORT 5003
#define PORTSTR "5003"
#define SERVER_SOCKET_TIMEOUT 30
-#define CLIENT_SOCKET_TIMEOUT 5
+#define CLIENT_SOCKET_TIMEOUT_DATA 5
+#define CLIENT_SOCKET_TIMEOUT_DISCOVERY 1
#define HB_INTERVAL 10*HZ
#define MAX_NUMBER_SERVERS 8