PollScheduler: use timeout for loadavg checks
authorZac Medico <zmedico@gentoo.org>
Tue, 21 Aug 2012 03:29:04 +0000 (20:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 21 Aug 2012 03:29:04 +0000 (20:29 -0700)
commitb696337bf20fdc539ce7721df7a4b42b35999705
tree2bef4ede34c181ba575e5bce9136640a1c0ba2bb
parent31b41fe7a20e6e0d19ff2383a746d61d8aa18b50
PollScheduler: use timeout for loadavg checks

This ensures that the code from commit
fe03b5fd790fc09bd6594c55bb174e80aaac1e5a behaves correctly even when
there are no poll events arriving for a long time (which might happen
if the running builds don't produce output for a long time).
pym/_emerge/PollScheduler.py