summaryrefslogtreecommitdiffstats
path: root/server.config.example/server.conf
diff options
context:
space:
mode:
authorSimon Rettberg2015-12-15 18:05:46 +0100
committerSimon Rettberg2015-12-15 18:05:46 +0100
commitb4cf06abaa5278b016c2036b6574d1be129f3d99 (patch)
tree29c374968e6bc03784199f2bb1faba611660f1c3 /server.config.example/server.conf
parent[SERVER] Remove non-working images from list, plus refactoring (diff)
downloaddnbd3-b4cf06abaa5278b016c2036b6574d1be129f3d99.tar.gz
dnbd3-b4cf06abaa5278b016c2036b6574d1be129f3d99.tar.xz
dnbd3-b4cf06abaa5278b016c2036b6574d1be129f3d99.zip
[SERVER] Update config example
Diffstat (limited to 'server.config.example/server.conf')
-rw-r--r--server.config.example/server.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.config.example/server.conf b/server.config.example/server.conf
index 8ac942d..7ef10a3 100644
--- a/server.config.example/server.conf
+++ b/server.config.example/server.conf
@@ -1,4 +1,6 @@
[dnbd3]
+; port to listen on (default: 5003)
+listenPort=5003
; relative root directory for images, ending in .r[1-9][0-9]*
basePath=/mnt/storage/dnbd3
; artificial connection delay for connecting servers
@@ -9,6 +11,8 @@ clientPenalty=0
isProxy=true
; if proxy is true and an image is incomplete, should idle bandwidth be used to replicate missing blocks?
backgroundReplication=true
+; if true (which is the default), images will automatically be removed from the list if they can't be accessed
+removeMissingImages=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)