summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-05-28 17:52:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-05-28 17:52:10 +0200
commite729233f0c20656bf41f8254d03160191e2f4d81 (patch)
treed4d671e15216c4209c46d4ae646a2c8f799c737c /apt-pkg
parent28b5ff3f76e63f0b4bbed5980b9c13f4a7c3cecc (diff)
* apt-pkg/acquire.cc:
- make the max pipeline depth of the acquire queue configurable via Acquire::Max-Pipeline-Depth
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire.cc2
1 files changed, 1 insertions, 1 deletions
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;
}