From e4b81e35c86b21b2c88db8223025d7dde2821fd8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Dec 2014 16:38:16 +0100 Subject: [SERVER] Add setting to enable/disable background replication, add comments to config and code --- server.config.example/server.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'server.config.example/server.conf') diff --git a/server.config.example/server.conf b/server.config.example/server.conf index 8c8bb9e..aeae8d5 100644 --- a/server.config.example/server.conf +++ b/server.config.example/server.conf @@ -1,8 +1,16 @@ [dnbd3] +; relative root directory for images, ending in .r[1-9][0-9]* basePath=/mnt/storage/dnbd3 +; artificial connection delay for connecting servers serverPenalty=100000 +; artificial connection delay for connecting clients clientPenalty=0 +; is this server a proxy? if true, requests for non-existing images will be relayed to known alt-servers isProxy=true +; if proxy is true and an image is incomplete, should idle bandwidth be used to replicate missing blocks? +backgroundReplication=true +; timeout in ms for send/recv on connections to uplink servers (used for replication) uplinkTimeout=1250 +; timeout in ms for send/recv on connections to clients (using an image on this server) clientTimeout=15000 -- cgit v1.2.3-55-g7522