summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorJohann Latocha2012-01-30 21:57:52 +0100
committerJohann Latocha2012-01-30 21:57:52 +0100
commit83c80e33b2ad1ecc37e5fb637c411fbb33371a81 (patch)
tree3c2cdb691e5febcb7340ada5d38465b3e6e56efe /src/config.h
parent[SERVER] Some refactoring (diff)
downloaddnbd3-83c80e33b2ad1ecc37e5fb637c411fbb33371a81.tar.gz
dnbd3-83c80e33b2ad1ecc37e5fb637c411fbb33371a81.tar.xz
dnbd3-83c80e33b2ad1ecc37e5fb637c411fbb33371a81.zip
[SERVER] Timeout for client sockets
[KERNEL] Send keep alive
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1aabf47..8cb088e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -23,6 +23,8 @@
// network
#define PORT 5003
+#define SERVER_SOCKET_TIMEOUT 30
+#define HB_INTERVAL 20*HZ
// block device
#define KERNEL_SECTOR_SIZE 512