aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-09 18:30:53 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-09 18:30:53 +0200
commita3d934b7608c6c88dd891cb6e05bb107718687e1 (patch)
tree5ff9e64d320c90b17eed877409331682efafd959
parent809176909e8efde965a4053c7b2c74150b759f81 (diff)
main-afb-daemon: Remove call to "nice"
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 <jose.bollo@iot.bzh>
-rw-r--r--src/main-afb-daemon.c3
1 files changed, 0 insertions, 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) {