Commit 3dad837c authored by Max Kellermann's avatar Max Kellermann

db/upnp: remove sleep(2) call

This call was unnecessary. It is a bad idea anyway to block the MPD process for some arbitrary amount of time.
parent d7e78059
......@@ -185,9 +185,6 @@ UpnpDatabase::Open(Error &error)
return false;
}
// Wait for device answers. This should be consistent with the value set
// in the lib (currently 2)
sleep(2);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment