diff options
author | Max Kellermann <max@duempel.org> | 2008-10-29 22:32:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-29 22:32:50 +0100 |
commit | 7da0e005f34bd8ce305b8ece7a33a8405bbaba87 (patch) | |
tree | f363b239548d64895fcd0a5603fca951d4738eec /src/state_file.h | |
parent | 0eae1c55adefc3e7509b2ef40f4da8baa3fe24ef (diff) | |
download | mpd-7da0e005f34bd8ce305b8ece7a33a8405bbaba87.tar.gz mpd-7da0e005f34bd8ce305b8ece7a33a8405bbaba87.tar.xz mpd-7da0e005f34bd8ce305b8ece7a33a8405bbaba87.zip |
output: delay reopen after device failure
When one of several output devices failed, MPD tried to reopen it
quite often, wasting a lot of resources. This patch adds a delay:
wait 10 seconds before retrying. This might be changed to exponential
delays later, but for now, it makes the problem go away.
Diffstat (limited to 'src/state_file.h')
0 files changed, 0 insertions, 0 deletions