]> git.saurik.com Git - apt.git/commit
acquire: Allow parallelizing methods without hosts
authorJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 16:06:55 +0000 (17:06 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 16:31:24 +0000 (17:31 +0100)
commitb89cd2e36f9696ccd56167593c792116ae4fc97f
treed29f0513dd89364a592b936f8ecb027cbee7c585
parent40940e63a4dd3c7ef09ea1175e189350457b7270
acquire: Allow parallelizing methods without hosts

The maximum parallelization soft limit is the number of CPU
cores * 2 on systems defining _SC_NPROCESSORS_ONLN. The hard
limit in all cases is Acquire::QueueHost::Limit.
apt-pkg/acquire.cc