1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-23 01:20:27 +00:00

increased mpd timeout to 10 seconds

Signed-off-by: Andrew Karpow <andy@ndyk.de>
This commit is contained in:
engine 2014-03-30 14:18:28 +02:00 committed by Andrew Karpow
parent dcb489d764
commit d5f4394a40

View File

@ -55,7 +55,7 @@ int callback_mpd(struct mg_connection *c)
cmd_id != MPD_API_GET_MPDHOST && cmd_id != MPD_API_SET_MPDPASS)
return MG_CLIENT_CONTINUE;
mpd_connection_set_timeout(mpd.conn, 5000);
mpd_connection_set_timeout(mpd.conn, 10000);
switch(cmd_id)
{
case MPD_API_UPDATE_DB: