From d5f4394a4039f1532c93e3de370c454b90fc84c6 Mon Sep 17 00:00:00 2001 From: engine Date: Sun, 30 Mar 2014 14:18:28 +0200 Subject: [PATCH] increased mpd timeout to 10 seconds Signed-off-by: Andrew Karpow --- src/mpd_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.20.1