Просмотр исходного кода

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

Michael Vogt лет назад: 17
Родитель
Сommit
e729233f0c
2 измененных файлов с 9 добавлено и 1 удалено
  1. 1 1
      apt-pkg/acquire.cc
  2. 8 0
      debian/changelog

+ 1 - 1
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;
    }

+ 8 - 0
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