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.
This commit is contained in:
Max Kellermann 2014-01-26 15:50:30 +01:00
parent d7e78059b0
commit 3dad837ca6

View File

@ -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;
}