Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 280161 Details for
Bug 375331
sys-apps/portage-2.2.0_alpha45: With FEATURES="parallel-fetch", Portage should not download more than one package at a time
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use fetch queue to cap fetch threads
fetch.patch (text/plain), 959 bytes, created by
Zac Medico
on 2011-07-16 06:19:22 UTC
(
hide
)
Description:
use fetch queue to cap fetch threads
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-07-16 06:19:22 UTC
Size:
959 bytes
patch
obsolete
>From f07f8386e945b48358c11c121960e4833c539752 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Fri, 15 Jul 2011 23:16:20 -0700 >Subject: [PATCH] EbuildBuild: use fetch queue to cap fetch threads > >This will fix bug #375331. >--- > pym/_emerge/EbuildBuild.py | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > >diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py >index a678ede..b6beb49 100644 >--- a/pym/_emerge/EbuildBuild.py >+++ b/pym/_emerge/EbuildBuild.py >@@ -172,7 +172,11 @@ class EbuildBuild(CompositeTask): > logfile=self.settings.get('PORTAGE_LOG_FILE'), > pkg=self.pkg, scheduler=self.scheduler) > >- self._start_task(fetcher, self._fetch_exit) >+ # Allow the Scheduler's fetch queue to control the >+ # number of concurrent fetchers. >+ fetcher.addExitListener(self._fetch_exit) >+ self._task_queued(fetcher) >+ self.scheduler.fetch.schedule(fetcher) > > def _fetch_exit(self, fetcher): > >-- >1.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 375331
: 280161 |
280167