diff options
author | Tomas Janousek <tomi@nomi.cz> | 2020-02-22 22:06:48 +0000 |
---|---|---|
committer | Tomas Janousek <tomi@nomi.cz> | 2020-02-22 23:09:49 +0000 |
commit | e662431a5cef5eacd68b987610f2d434fa687844 (patch) | |
tree | 31c9fd4f7c57490438b565de3ace2d13b171020e /.hlint.yaml | |
parent | 32fc8214c567c7f4a4caad10fab98c760a1685b7 (diff) | |
download | xmobar-e662431a5cef5eacd68b987610f2d434fa687844.tar.gz xmobar-e662431a5cef5eacd68b987610f2d434fa687844.tar.bz2 |
Timer coalescing: gracefully uncoalesce slow timers
The first implementation assumed all timers (monitors) are fast and
frequent (which happens to be the case in my configuration). This meant
that a single on-line weather monitor could block the entire xmobar
instance for a long time due to the refresh pausing (meant to reduce
power consumption).
This commit attempts to fix that by limiting the refresh pause time and
using the old periodic sleep method for these slow timers (monitors).
Diffstat (limited to '.hlint.yaml')
0 files changed, 0 insertions, 0 deletions