From: engine Date: Sun, 30 Mar 2014 12:18:28 +0000 (+0200) Subject: increased mpd timeout to 10 seconds X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=d5f4394a4039f1532c93e3de370c454b90fc84c6;p=ympd.git increased mpd timeout to 10 seconds Signed-off-by: Andrew Karpow --- diff --git a/src/mpd_client.c b/src/mpd_client.c index a640dab..3b0609f 100644 --- a/src/mpd_client.c +++ b/src/mpd_client.c @@ -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: