From: Michael Vogt <michael.vogt@ubuntu.com>
Date: Thu, 28 May 2009 15:52:10 +0000 (+0200)
Subject: * apt-pkg/acquire.cc:
X-Git-Tag: 0.7.24ubuntu1~17
X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e729233f0c20656bf41f8254d03160191e2f4d81

* apt-pkg/acquire.cc:
  - make the max pipeline depth of the acquire queue configurable
    via Acquire::Max-Pipeline-Depth
---

diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 2e6bd3401..dc1599a61 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -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",1000);
       else
 	 MaxPipeDepth = 1;
    }
diff --git a/debian/changelog b/debian/changelog
index d3d28d0dc..8958bdfb7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+apt (0.7.20.2ubuntu8) UNRELEASEDkarmic; urgency=low
+
+  * 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
+
 apt (0.7.20.2ubuntu7) karmic; urgency=low
 
   * fix problematic use of tolower() when calculating the version