From 26d356fa2c253affac69543298accca6406045ca Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 12 Apr 2018 23:29:28 +0200 Subject: [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. --- conf/server.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf') 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 -- cgit v1.2.3-55-g7522