summaryrefslogtreecommitdiffstats
path: root/conf/server.conf
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-05 16:06:18 +0200
committerSimon Rettberg2019-09-05 16:06:18 +0200
commit86667e36996c3ca414d760d6be47cd8b0d786994 (patch)
treed0e4962861df090ba8d5f113dbc31e107137ae0e /conf/server.conf
parent[SERVER] Support limiting alt-servers to specific namespace (diff)
downloaddnbd3-86667e36996c3ca414d760d6be47cd8b0d786994.tar.gz
dnbd3-86667e36996c3ca414d760d6be47cd8b0d786994.tar.xz
dnbd3-86667e36996c3ca414d760d6be47cd8b0d786994.zip
[SERVER] Update sample config
Diffstat (limited to 'conf/server.conf')
-rw-r--r--conf/server.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/conf/server.conf b/conf/server.conf
index 2f43247..a101f34 100644
--- a/conf/server.conf
+++ b/conf/server.conf
@@ -13,9 +13,10 @@ isProxy=true
backgroundReplication=true
; minimum amount of connected clients for background replication to kick in
bgrMinClients=0
-; if isProxy==true and another proxy requests and image that we don't have, should we ask our alt-servers for it?
+; if another proxy requests and image that we don't have, should we ask our alt-servers for it?
lookupMissingForProxy=true
-; create sparse files instead of preallocating; ignored if backgroundReplication=true -- only recommended if cache space is small
+; create sparse files instead of preallocating; ignored if backgroundReplication=true
+; -- only recommended if cache space is small
sparseFiles=false
; if true (which is the default), images will automatically be removed from the list if they can't be accessed
removeMissingImages=true
@@ -27,6 +28,9 @@ clientTimeout=15000
closeUnusedFd=false
; set this to true to load files without the .r[0-9]+ extension too, assuming RID=1
vmdkLegacyMode=false
+; Don't set the server flag when connecting to alt-servers
+; Intended for if the proxy is used for on-client caching
+pretendClient=false
[limits]
maxClients=2000