]> git.saurik.com Git - apt-legacy.git/commitdiff
Choose a more sane default for MaxParallel.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 24 Apr 2009 22:47:53 +0000 (22:47 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 24 Apr 2009 22:47:53 +0000 (22:47 +0000)
M parallel.diff

git-svn-id: http://svn.telesphoreo.org/trunk@605 514c082c-b64e-11dc-b46d-3d985efe055d

apt-pkg/acquire.cc

index cb69dbb6d9df24c4b9334593199535b29b2380ab..89d2120892d4f3522d6e868b1c5beb4e4e43b19c 100644 (file)
@@ -238,7 +238,7 @@ string pkgAcquire::QueueName(string Uri,MethodConfig const *&Config)
       return U.Access;
    string name(U.Access + ':' + U.Host);
 
-   int parallel(_config->FindI("Acquire::"+U.Access+"::MaxParallel",0));
+   int parallel(_config->FindI("Acquire::"+U.Access+"::MaxParallel",8));
    if (parallel <= 0)
       return name;