diff options
author | Simon Rettberg | 2018-04-12 23:29:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-12 23:29:28 +0200 |
commit | 26d356fa2c253affac69543298accca6406045ca (patch) | |
tree | 306594db4d3f65b101f469ca9ad4b0d8a1210d42 /conf | |
parent | [SERVER] Mark spammy replication messages as DEBUG2 instead of 1 (diff) | |
download | dnbd3-26d356fa2c253affac69543298accca6406045ca.tar.gz dnbd3-26d356fa2c253affac69543298accca6406045ca.tar.xz dnbd3-26d356fa2c253affac69543298accca6406045ca.zip |
[SERVER] Add bgrMinClients: Thresold to control when BGR starts
Background replication will not kick in if there aren't at least
that many clients connected.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/server.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/server.conf b/conf/server.conf index a33a84e..2f43247 100644 --- a/conf/server.conf +++ b/conf/server.conf @@ -11,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 +; 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? lookupMissingForProxy=true ; create sparse files instead of preallocating; ignored if backgroundReplication=true -- only recommended if cache space is small |