]> 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 ced390447bbb0da40e20c1d9302051910319ba02..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 
   {
@@ -273,6 +276,15 @@ Acquire
 
     Order { "gz"; "lzma"; "bz2"; };
   };
+
+  Languages
+  {
+     "environment";
+     "de";
+     "en";
+     "none";
+     "fr";
+  };
 };
 
 // Directory layout