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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/globals.h b/src/server/globals.h
index 037cd08..d9a299d 100644
--- a/src/server/globals.h
+++ b/src/server/globals.h
@@ -177,6 +177,12 @@ extern int _uplinkTimeout;
*/
extern int _clientTimeout;
+/**
+ * Should we replicate incomplete images in the background?
+ * Otherwise, only blocks that were explicitly requested will be cached.
+ */
+extern int _backgroundReplication;
+
void globals_loadConfig();
#endif /* GLOBALS_H_ */