]> git.saurik.com Git - apt.git/commitdiff
Revert "Fix select timeout to be 50msec instead of 0.5msec" for acquire
authorJulian Andres Klode <jak@debian.org>
Sat, 10 Oct 2015 22:41:11 +0000 (00:41 +0200)
committerJulian Andres Klode <jak@debian.org>
Sat, 10 Oct 2015 22:41:11 +0000 (00:41 +0200)
The acquire system actually uses usec pulse intervals, so the
previous value was correct (500ms) whereas the new value is
now 5s.

It's a bit unfortunate that the two systems use different units
for pulse intervals, but probably not much we can do about it.

This partially reverts commit eaf21c2144fa8dc4be8581dc69cf88cb38e30ce2.

apt-pkg/acquire.h

index ffa70d4dcce1c89550f09d9743c9bbf2891917fa..3e5ca41cdb88eb1aed67e17b04a8cd0424300a92 100644 (file)
@@ -281,7 +281,7 @@ class pkgAcquire
     *
     *  \return the result of the download.
     */
-   RunResult Run(int PulseInterval=50000000);
+   RunResult Run(int PulseInterval=500000);
 
    /** \brief Remove all items from this download process, terminate
     *  all download workers, and empty all queues.