projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf54e8
)
Fix logic inside PollScheduler._can_add_job() so that load average is
author
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Nov 2008 23:15:12 +0000
(23:15 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Nov 2008 23:15:12 +0000
(23:15 -0000)
properly considered when a single job is running. (trunk r11958)
svn path=/main/branches/2.1.6/; revision=11959
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 5b672a853ff3b8f3eb9a0b896a412881844fd83c..de5c903efe39ac43a30e1f14f692611a5ea76a2c 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-8542,7
+8542,7
@@
class PollScheduler(object):
if max_load is not None and \
(max_jobs is True or max_jobs > 1) and \
- self._running_job_count() > 1:
+ self._running_job_count() >
=
1:
try:
avg1, avg5, avg15 = os.getloadavg()
except (AttributeError, OSError), e: