sensord: remove sleep() in new failed handler 88/126088/1
authorkibak.yoon <kibak.yoon@samsung.com>
Thu, 20 Apr 2017 05:34:31 +0000 (14:34 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Thu, 20 Apr 2017 05:34:31 +0000 (14:34 +0900)
Change-Id: I74714fe67becd945d95e869f5de96241ebe3325e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/main.cpp

index 633630a..8bb6cf3 100644 (file)
@@ -17,7 +17,6 @@
  *
  */
 
-#include <unistd.h>
 #include <sensor_log.h>
 #include <dbus_util.h>
 #include <new>
@@ -45,8 +44,6 @@ static void on_new_failed(void)
                raise(SIGTERM);
                return;
        }
-
-       sleep(1);
 }
 
 int main(int argc, char *argv[])