summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-11-12 02:31:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-11-12 02:31:34 +0000
commit76a08d2bdfe310522cd4aac39e2e511f08a97897 (patch)
tree72b2084d125208a15ea7a79a088d4d00ebf0b674
parente109bc610f4d1026a30ba9540c31ecb5e138d791 (diff)
downloadportage-76a08d2bdfe310522cd4aac39e2e511f08a97897.tar.gz
portage-76a08d2bdfe310522cd4aac39e2e511f08a97897.tar.bz2
portage-76a08d2bdfe310522cd4aac39e2e511f08a97897.zip
Add setup phases to the tail of the merge queue instead of the front, since
otherwise when merging binary packages we sometimes tend to get a large number of setup phases flooding the queue and preventing queued installs from running. svn path=/main/trunk/; revision=14816
-rw-r--r--pym/_emerge/Scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index 1f37a5f0c..dcd2e47c7 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -436,7 +436,7 @@ class Scheduler(PollScheduler):
Schedule a setup phase on the merge queue, in order to
serialize unsandboxed access to the live filesystem.
"""
- self._task_queues.merge.addFront(setup_phase)
+ self._task_queues.merge.add(setup_phase)
self._schedule()
def _schedule_unpack(self, unpack_phase):