summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorJohann Latocha2012-02-15 19:16:58 +0100
committerJohann Latocha2012-02-15 19:16:58 +0100
commit28b5e6f396a63d006b624b1688ed39508a7dcf9f (patch)
treee8d635ec5096d644ccdcfa521c55188b2498e8d9 /src/config.h
parent[SERVER] Memleak fixed (diff)
downloaddnbd3-28b5e6f396a63d006b624b1688ed39508a7dcf9f.tar.gz
dnbd3-28b5e6f396a63d006b624b1688ed39508a7dcf9f.tar.xz
dnbd3-28b5e6f396a63d006b624b1688ed39508a7dcf9f.zip
[KERNEL] Kernel panic while server is gone fixed
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 8e7f02f..8506ed6 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 HB_INTERVAL 20*HZ
+#define CLIENT_SOCKET_TIMEOUT 5
+#define HB_INTERVAL 10*HZ
#define MAX_NUMBER_SERVERS 8
// block device