From a3d934b7608c6c88dd891cb6e05bb107718687e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Mon, 9 Jul 2018 18:30:53 +0200 Subject: [PATCH] main-afb-daemon: Remove call to "nice" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Instead of setting the priority in the binder, delegate that responsibility of setting the priority of the process to the launcher. Bug-AGL: SPEC-1578 Change-Id: Ia6bdbdda72ce76fabc19c6448deeb62e2861dce0 Signed-off-by: José Bollo --- src/main-afb-daemon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c index 8be78af6..4be6cc53 100644 --- a/src/main-afb-daemon.c +++ b/src/main-afb-daemon.c @@ -665,9 +665,6 @@ int main(int argc, char *argv[]) { afb_debug("main-entry"); - // let's run this program with a low priority - nice(20); - // ------------- Build session handler & init config ------- main_config = afb_config_parse_arguments(argc, argv); if (main_config->name) { -- 2.16.6