• Max Kellermann's avatar
    state_file: save state_file every 5 minutes · 1c0c5832
    Max Kellermann authored
    When MPD quits in a non-clean way, the state file isn't written, and
    on the next start, MPD time warps to the previous clean shutdown.
    Save the state file every 5 minutes; this will probably be
    configurable at a later time.
    
    Note that we don't set a wakeup timer for that: when there is no MPD
    traffic, MPD won't wake up to save the state file.  This minor bug is
    tolerated, because usually there is no change in MPD's state when the
    main thread is idle.
    1c0c5832
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...