mirror of
https://github.com/SuperBFG7/ympd
synced 2024-11-26 23:07:17 +00:00
increased mpd timeout to 10 seconds
Signed-off-by: Andrew Karpow <andy@ndyk.de>
This commit is contained in:
parent
dcb489d764
commit
d5f4394a40
@ -55,7 +55,7 @@ int callback_mpd(struct mg_connection *c)
|
|||||||
cmd_id != MPD_API_GET_MPDHOST && cmd_id != MPD_API_SET_MPDPASS)
|
cmd_id != MPD_API_GET_MPDHOST && cmd_id != MPD_API_SET_MPDPASS)
|
||||||
return MG_CLIENT_CONTINUE;
|
return MG_CLIENT_CONTINUE;
|
||||||
|
|
||||||
mpd_connection_set_timeout(mpd.conn, 5000);
|
mpd_connection_set_timeout(mpd.conn, 10000);
|
||||||
switch(cmd_id)
|
switch(cmd_id)
|
||||||
{
|
{
|
||||||
case MPD_API_UPDATE_DB:
|
case MPD_API_UPDATE_DB:
|
||||||
|
Loading…
Reference in New Issue
Block a user