mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
b50650f63f
The MPD server has a connection_timeout that defaults to 60. If no data is transferred in this timespan, the connection is closed. If the connection is closed while the event listener is listening for events, it will block forever. By timing out the event listening and re-connecting regularly, we prevent this issue. An option "timeout" has been added for users that have a lower server connection_timeout than default. Fixes #277 |
||
---|---|---|
.. | ||
modules | ||
ALabel.cpp | ||
bar.cpp | ||
client.cpp | ||
factory.cpp | ||
main.cpp |