]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/acquire.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 9 Jun 2009 14:14:21 +0000 (16:14 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 9 Jun 2009 14:14:21 +0000 (16:14 +0200)
  - make the max pipeline depth of the acquire queue configurable
    via Acquire::Max-Pipeline-Depth

apt-pkg/acquire.cc
debian/changelog

index 2e6bd3401f1a913621ca381f1c6ac7747ebbc5bb..bafba337e6e551263adc5342331dc6eac2dd842a 100644 (file)
@@ -621,7 +621,7 @@ bool pkgAcquire::Queue::Startup()
          added other source retry to have cycle maintain a pipeline depth
          on its own. */
       if (Cnf->Pipeline == true)
-        MaxPipeDepth = 1000;
+        MaxPipeDepth = _config->FindI("Acquire::Max-Pipeline-Depth",10);
       else
         MaxPipeDepth = 1;
    }
index 3678e33f296db93f4eb2b0605774307862f87118..30e7b7591754d48d38f95df520680798d1f116df 100644 (file)
@@ -9,6 +9,13 @@ apt (0.7.21) UNRELEASED; urgency=low
   * Documented all cron script related configuration items in 
     configure-index.
 
+  [ Michael Vogt ]
+  * apt-pkg/acquire.cc:
+    - make the max pipeline depth of the acquire queue configurable
+      via Acquire::Max-Pipeline-Depth
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 28 May 2009 17:51:42 +0200
+
   [ Michael Vogt ]
   * apt-pkg/indexcopy.cc:
     - support having CDs with no Packages file (just a Packages.gz)