summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorSimon Rettberg2013-11-12 18:37:30 +0100
committerSimon Rettberg2013-11-12 18:37:30 +0100
commitec507460768fb9ebe0bf037855864e9a94f3b36a (patch)
treed724ad0e6f70365d73539362aba6ffa5b7444d40 /src/config.h
parentMerge branch 'simon' of dnbd3:dnbd3 into simon (diff)
downloaddnbd3-ec507460768fb9ebe0bf037855864e9a94f3b36a.tar.gz
dnbd3-ec507460768fb9ebe0bf037855864e9a94f3b36a.tar.xz
dnbd3-ec507460768fb9ebe0bf037855864e9a94f3b36a.zip
[SERVER] Save cache maps every 30 mins
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 0228ae9..ba908ae 100644
--- a/src/config.h
+++ b/src/config.h
@@ -33,6 +33,7 @@
#define SERVER_BAD_UPLINK_IGNORE 120 // How many seconds is a server considered bad?
#define SERVER_UPLINK_QUEUELEN_THRES 900
#define SERVER_MAX_PENDING_ALT_CHECKS 50
+#define SERVER_CACHE_MAP_SAVE_INTERVAL 1800
// +++++ Other magic constants
#define SERVER_RTT_PROBES 5