From eaf21c2144fa8dc4be8581dc69cf88cb38e30ce2 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 30 Sep 2015 15:24:47 +0200 Subject: Fix select timeout to be 50msec instead of 0.5msec Closes: #799857 --- apt-pkg/acquire.h | 2 +- apt-pkg/install-progress.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index 3e5ca41cd..ffa70d4dc 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=500000); + RunResult Run(int PulseInterval=50000000); /** \brief Remove all items from this download process, terminate * all download workers, and empty all queues. diff --git a/apt-pkg/install-progress.h b/apt-pkg/install-progress.h index ee03ac217..23ddbbec6 100644 --- a/apt-pkg/install-progress.h +++ b/apt-pkg/install-progress.h @@ -42,7 +42,7 @@ namespace Progress { virtual void Pulse() {}; virtual long GetPulseInterval() { - return 500000; + return 50000000; }; virtual bool StatusChanged(std::string PackageName, -- cgit v1.2.3