From 1587f73c38c9228a1a93889aae6351eff891cbe8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 2 Nov 2017 13:41:35 +0100 Subject: [SERVER] Support finer control over replication when a proxy connects to a proxy Introduce new flag in "select image" message to tell the uplink server whether we have background replication enabled or not. Also reject a connecting proxy if the connecting proxy uses BGR but we don't, as this would basically force the image to be replicated locally too. --- conf/server.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf') diff --git a/conf/server.conf b/conf/server.conf index c32d907..b751dbe 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 +; if isProxy==true and another proxy requests and image that we don't have, should we ask our alt-servers for it? +lookupMissingForProxy=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) -- cgit v1.2.3-55-g7522