During the first minute of entering the main scheduler loop, if --load-average
authorZac Medico <zmedico@gentoo.org>
Tue, 29 Jul 2008 14:34:55 +0000 (14:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 29 Jul 2008 14:34:55 +0000 (14:34 -0000)
commite4efa726d065712d39c4d61b7babc5a8278ff54d
tree4fb4233226d16595d32cb37fca58b90b1425c3fd
parentb1b65de9604dab4824664f091f7884c2b48bfdf7
During the first minute of entering the main scheduler loop, if --load-average
is enabled then limit the rate that new jobs are spawned, so that the load
average measurement has time to respond to the new load introduced by the
new jobs. The time between spawning new jobs is proportional to the number
of currently running jobs.

svn path=/main/trunk/; revision=11263
pym/_emerge/__init__.py