mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
always try realtime first and let ppl use -np themselves if its a problem
This commit is contained in:
parent
ee7dd033fd
commit
2491c33af6
@ -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 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user