summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 0a20e8f2b..be461aaad 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -176,7 +176,10 @@ Acquire
Source-Symlinks "true";
PDiffs "true"; // try to get the IndexFile diffs
-
+ PDiffs::FileLimit "4"; // don't use diffs if we would need more than 4 diffs
+ PDiffs::SizeLimit "50"; // don't use diffs if size of all patches excess
+ // 50% of the size of the original file
+
// HTTP method configuration
http
{