]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
always try realtime first and let ppl use -np themselves if its a problem
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 22 Feb 2013 23:49:12 +0000 (17:49 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 22 Feb 2013 23:49:12 +0000 (17:49 -0600)
src/switch_core.c

index a2cc8138b3e5a7bc473f38f345afb0900efa16aa..31549cfba6139cff51019a1fcf3f74d58ece9b33 100644 (file)
@@ -839,10 +839,8 @@ SWITCH_DECLARE(int32_t) set_auto_priority(void)
 
        if (!runtime.cpu_count) runtime.cpu_count = 1;
 
-       /* If we have more than 1 cpu, we should use realtime priority so we can have priority threads */
-       if (runtime.cpu_count > 1) {
-               return set_realtime_priority();
-       }
+       return set_realtime_priority();
+
 
        return 0;
 }