increased mpd timeout to 10 seconds
authorengine <engine@gas-werk.org>
Sun, 30 Mar 2014 12:18:28 +0000 (14:18 +0200)
committerAndrew Karpow <andy@ndyk.de>
Mon, 31 Mar 2014 14:19:47 +0000 (16:19 +0200)
Signed-off-by: Andrew Karpow <andy@ndyk.de>
src/mpd_client.c

index a640dab..3b0609f 100644 (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: