main-afb-daemon: Remove call to "nice" 45/15145/1
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 9 Jul 2018 16:30:53 +0000 (18:30 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 9 Jul 2018 16:30:53 +0000 (18:30 +0200)
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>
src/main-afb-daemon.c

index 8be78af..4be6cc5 100644 (file)
@@ -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) {