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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user