commit | fdb856ae456a559fa74066704cd19858d317ed33 | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Tue Oct 16 20:36:49 2012 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Tue Oct 16 20:36:49 2012 -0700 |
tree | 525b87a7d037a4780748fb6bde9cb88fb43999a8 | |
parent | 8a28c000ce225b79076e36f212162f58e01188b7 [diff] |
Scheduler: tweak job_delay calc for bug #438650 * Max delay is reduced to 5 seconds (was 10). * Calculated delay is now proportional to current/desired load ratio. * When a delay is triggered, an event loop timeout is used to ensure that scheduling occurs as soon as the delay expires (rather than waiting for the _loadavg_latency timeout to expire).