]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
add configuration PDiffs::Limit-options (FileLimit and SizeLimit) to
[apt.git] / doc / examples / configure-index
index 0a20e8f2b79d55054c10524b73a37f5927d1a4a3..be461aaad15aee43ac9ff0a0368a1e0ba9b16b44 100644 (file)
@@ -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 
   {