summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorsr2013-07-25 22:00:10 +0200
committersr2013-07-25 22:00:10 +0200
commit706ef832d30d2797103d5a49e9e4f4ee0a509411 (patch)
tree7e5051374c9717017473a7397e8e233ee38868e1 /src/config.h
parentImplement CRC-32 list generation; fix quick CRC-32 check on image loading (diff)
downloaddnbd3-706ef832d30d2797103d5a49e9e4f4ee0a509411.tar.gz
dnbd3-706ef832d30d2797103d5a49e9e4f4ee0a509411.tar.xz
dnbd3-706ef832d30d2797103d5a49e9e4f4ee0a509411.zip
...Working on proxy mode...
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 0e3e786..f208b68 100644
--- a/src/config.h
+++ b/src/config.h
@@ -21,10 +21,19 @@
#ifndef CONFIG_H_
#define CONFIG_H_
+// ##############################
+// ########### SERVER ###########
+
// +++++ Performance related
#define SERVER_MAX_CLIENTS 5000
#define SERVER_MAX_IMAGES 5000
#define SERVER_MAX_ALTS 1000
+#define SERVER_MAX_UPLINK_QUEUE 1000
+
+// +++++ Other magic constants
+#define SERVER_RTT_PROBES 4
+#define SERVER_RTT_DELAY_INIT 8
+#define SERVER_RTT_DELAY_MAX 15
// +++++ Network +++++
// Default port