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:
parent
d7e78059b0
commit
3dad837ca6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user