summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-10-11 00:41:11 +0200
committerJulian Andres Klode <jak@debian.org>2015-10-11 00:41:11 +0200
commitd06c500cd05eeab809d313c27453b2b1f4d18307 (patch)
tree718212ef6b35cc01c883c82012fd3f77e20d66ed /apt-pkg
parentebd8621e5b18446dd251e90f79aa7576c6cb83b2 (diff)
Revert "Fix select timeout to be 50msec instead of 0.5msec" for acquire
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.
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h
index ffa70d4dc..3e5ca41cd 100644
--- a/apt-pkg/acquire.h
+++ b/apt-pkg/acquire.h
@@ -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.