summaryrefslogtreecommitdiffstats
path: root/src/server/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/globals.h')
-rw-r--r--src/server/globals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/globals.h b/src/server/globals.h
index d43878f..2e39cb8 100644
--- a/src/server/globals.h
+++ b/src/server/globals.h
@@ -207,6 +207,11 @@ extern bool _closeUnusedFd;
extern bool _backgroundReplication;
/**
+ * Minimum connected clients for background replication to kick in
+ */
+extern int _bgrMinClients;
+
+/**
* (In proxy mode): If connecting client is a proxy, and the requested image
* is not known locally, should we ask our known alt servers for it?
* Otherwise the request is rejected.