aboutsummaryrefslogtreecommitdiffstats
path: root/src/strset.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-21 18:36:33 +0100
committerMax Kellermann <max@duempel.org>2008-11-21 18:36:33 +0100
commit1c0c583216c3fd7dd638f504bc32d2cb0a7b2f95 (patch)
treed6b968bc38e2eef7a0fc465433bbe07c4b4efc66 /src/strset.h
parent695d8051d255f89abf3ec73f806049ca77f4008a (diff)
downloadmpd-1c0c583216c3fd7dd638f504bc32d2cb0a7b2f95.tar.gz
mpd-1c0c583216c3fd7dd638f504bc32d2cb0a7b2f95.tar.xz
mpd-1c0c583216c3fd7dd638f504bc32d2cb0a7b2f95.zip
state_file: save state_file every 5 minutes
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.
Diffstat (limited to 'src/strset.h')
0 files changed, 0 insertions, 0 deletions