[Aptitude-svn-commit] r3609 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Mon Jul 4 16:43:42 UTC 2005
Author: dburrows
Date: Mon Jul 4 16:43:39 2005
New Revision: 3609
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/download.cc
branches/aptitude-0.3/aptitude/src/view_changelog.cc
Log:
Re-decrease the download poll rate.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Mon Jul 4 16:43:39 2005
@@ -1,5 +1,9 @@
2005-07-04 Daniel Burrows <dburrows@debian.org>
+ * src/download.cc, src/view_changelog.cc:
+
+ Decrease the polling rate of downloads. Again.
+
* doc/aptitude.css:
Various tweaks to make the generated documentation a bit
Modified: branches/aptitude-0.3/aptitude/src/download.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/download.cc (original)
+++ branches/aptitude-0.3/aptitude/src/download.cc Mon Jul 4 16:43:39 2005
@@ -127,7 +127,7 @@
sigaddset(&signals, SIGWINCH);
sigprocmask(SIG_UNBLOCK, &signals, &oldsigs);
- switch(fetcher.Run(aptcfg->FindI(PACKAGE "::UI::Download-Poll-Interval", 100000)))
+ switch(fetcher.Run(aptcfg->FindI(PACKAGE "::UI::Download-Poll-Interval", 50000)))
// At this point the widget should be deleted
{
case pkgAcquire::Failed:
@@ -381,7 +381,7 @@
{
sigprocmask(SIG_SETMASK, &oldsigs, &signals);
- pkgAcquire::RunResult res=fetcher.Run(aptcfg->FindI(PACKAGE "::UI::Download-Poll-Interval", 100000));
+ pkgAcquire::RunResult res=fetcher.Run(aptcfg->FindI(PACKAGE "::UI::Download-Poll-Interval", 50000));
if(res!=pkgAcquire::Continue || abortable.get_aborted())
// We failed or were cancelled
{
Modified: branches/aptitude-0.3/aptitude/src/view_changelog.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/view_changelog.cc (original)
+++ branches/aptitude-0.3/aptitude/src/view_changelog.cc Mon Jul 4 16:43:39 2005
@@ -71,7 +71,7 @@
_("Download Changelog"),
NULL);
pkg_changelog *cl=get_changelog(ver, widget,
- aptcfg->FindI(PACKAGE "::UI::Download-Poll-Interval", 100000));
+ aptcfg->FindI(PACKAGE "::UI::Download-Poll-Interval", 50000));
widget->Complete();
if(cl)
{
More information about the Aptitude-svn-commit
mailing list