edf37385cb
The module has a poll timeout because it needs to periodically check if it is shutting down. Otherwise, it would be stuck polling and the bar couldn't shut down until the script produces a new line. However, this causes the bar to wake up intermittently (currently ~40/s) due to the 25ms timeout. Bumping this to 250ms still gives us timely shut downs and caps the number of wake ups to 4/s. This is only a stop-gap solution, ideally the script runner is integrated into the main event loop and uses its polling handles which don't have to wake up to check for a shutdown. Ref #1778 Ref #2337 |
||
---|---|---|
.. | ||
alsa | ||
mpd.cpp | ||
net_iw.cpp | ||
net_nl.cpp | ||
net.cpp | ||
pulseaudio.cpp | ||
script_runner.cpp |