提交 ad7c7f13 authored 作者: Mathieu Rene's avatar Mathieu Rene

adjust switch_yield times in switch_core_sql_db_thread() and pool_thread()

上级 86509640
......@@ -548,7 +548,7 @@ static void *SWITCH_THREAD_FUNC pool_thread(switch_thread_t *thread, void *obj)
goto done;
}
} else {
switch_yield(100000);
switch_yield(1000000);
}
}
......
......@@ -898,7 +898,7 @@ static void *SWITCH_THREAD_FUNC switch_core_sql_db_thread(switch_thread_t *threa
wake_thread(0);
sec = 0;
}
switch_yield(1000);
switch_yield(1000000);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论