From 3dad837ca692df4eecee9c16fd9155b4ca23e289 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Jan 2014 15:50:30 +0100 Subject: 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. --- src/db/plugins/UpnpDatabasePlugin.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/db/plugins/UpnpDatabasePlugin.cxx b/src/db/plugins/UpnpDatabasePlugin.cxx index efc602be6..c921d5460 100644 --- a/src/db/plugins/UpnpDatabasePlugin.cxx +++ b/src/db/plugins/UpnpDatabasePlugin.cxx @@ -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; } -- cgit v1.2.3