millert
52caae6b33
When checking whether we should scan the sensors again use <= rather
than < for the comparison. Otherwise, if we don't do enough work in the loop to advance the clock (for instance if the network is down) we may end up calling poll() multiple times with no timeout, racking up CPU time for no real reason. OK bcook@ |
9 years ago | |
---|---|---|
src | When checking whether we should scan the sensors again use <= rather | 9 years ago |