Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 280167 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]
enable prefetch for first package
first_fetch.patch (text/plain), 1.08 KB, created by
Zac Medico
on 2011-07-16 07:37:52 UTC
(
hide
)
Description:
enable prefetch for first package
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-07-16 07:37:52 UTC
Size:
1.08 KB
patch
obsolete
>From a3ebf8f370ed20bcf419395b786aae2daccb5074 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sat, 16 Jul 2011 00:30:05 -0700 >Subject: [PATCH] Scheduler: enable prefetch for first package > >Since commit f07f8386e945b48358c11c121960e4833c539752, the first will >have to wait for later ones to fetch unless we start its prefetcher >first. >--- > pym/_emerge/Scheduler.py | 5 +---- > 1 files changed, 1 insertions(+), 4 deletions(-) > >diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py >index ad276e9..135e37a 100644 >--- a/pym/_emerge/Scheduler.py >+++ b/pym/_emerge/Scheduler.py >@@ -745,10 +745,7 @@ class Scheduler(PollScheduler): > prefetchers = self._prefetchers > getbinpkg = "--getbinpkg" in self.myopts > >- # In order to avoid "waiting for lock" messages >- # at the beginning, which annoy users, never >- # spawn a prefetcher for the first package. >- for pkg in self._mergelist[1:]: >+ for pkg in self._mergelist: > # mergelist can contain solved Blocker instances > if not isinstance(pkg, Package) or pkg.operation == "uninstall": > continue >-- >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