提交 2491c33a authored 作者: Anthony Minessale's avatar Anthony Minessale

always try realtime first and let ppl use -np themselves if its a problem

上级 ee7dd033
......@@ -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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论