Bladeren bron

* apt-pkg/acquire.cc:
- increase MaxPipeDepth for the internal worker<->method
communication to 1000 for the debtorrent backend

Michael Vogt 19 jaren geleden
bovenliggende
commit
adb81c02dc
3 gewijzigde bestanden met toevoegingen van 10 en 2 verwijderingen
  1. 1 1
      apt-pkg/acquire.cc
  2. 3 0
      debian/changelog
  3. 6 1
      test/pre-upload-check.py

+ 1 - 1
apt-pkg/acquire.cc

@@ -619,7 +619,7 @@ bool pkgAcquire::Queue::Startup()
          added other source retry to have cycle maintain a pipeline depth
          on its own. */
       if (Cnf->Pipeline == true)
-	 MaxPipeDepth = 10;
+	 MaxPipeDepth = 1000;
       else
 	 MaxPipeDepth = 1;
    }

+ 3 - 0
debian/changelog

@@ -21,6 +21,9 @@ apt (0.7.7) UNRELEASED; urgency=low
     - increase default mmap size
   * tests/local-repo:
     - added local repository testcase
+  * apt-pkg/acquire.cc:
+    - increase MaxPipeDepth for the internal worker<->method
+      communication to 1000 for the debtorrent backend
   
   [ Program translations ]
     - French updated

+ 6 - 1
test/pre-upload-check.py

@@ -15,7 +15,12 @@ apt_args = []  # ["-o","Debug::pkgAcquire::Auth=true"]
 
 
 class testAuthentication(unittest.TestCase):
-
+    """
+    test if the authentication is working, the repository
+    of the test-data can be found here:
+    bzr get http://people.ubuntu.com/~mvo/bzr/apt/apt-auth-test-suit/
+    """
+    
     # some class wide data
     apt = "apt-get"
     pkg = "libglib2.0-data"