diff options
author | Simon Rettberg | 2014-12-29 16:38:16 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-29 16:38:16 +0100 |
commit | e4b81e35c86b21b2c88db8223025d7dde2821fd8 (patch) | |
tree | 92daee508847836ab3bff902d61344d2b5e24ce3 /server.config.example/server.conf | |
parent | [SERVER] Fix new sendfile handling, wake up uplink thread if server should be... (diff) | |
download | dnbd3-e4b81e35c86b21b2c88db8223025d7dde2821fd8.tar.gz dnbd3-e4b81e35c86b21b2c88db8223025d7dde2821fd8.tar.xz dnbd3-e4b81e35c86b21b2c88db8223025d7dde2821fd8.zip |
[SERVER] Add setting to enable/disable background replication, add comments to config and code
Diffstat (limited to 'server.config.example/server.conf')
-rw-r--r-- | server.config.example/server.conf | 8 |
1 files changed, 8 insertions, 0 deletions
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 |