Merge branch 'keydbpro' into PRO_RELEASE_6
Former-commit-id: 1dd55bec28e7bba38ff9fbd7c6b22b23b911a4eb
This commit is contained in:
commit
2ecff6eccf
@ -5452,6 +5452,8 @@ void *workerThreadMain(void *parg)
|
|||||||
|
|
||||||
static void validateConfiguration()
|
static void validateConfiguration()
|
||||||
{
|
{
|
||||||
|
updateMasterAuth();
|
||||||
|
|
||||||
if (cserver.cthreads > (int)std::thread::hardware_concurrency()) {
|
if (cserver.cthreads > (int)std::thread::hardware_concurrency()) {
|
||||||
serverLog(LL_WARNING, "WARNING: server-threads is greater than this machine's core count. Truncating to %u threads", std::thread::hardware_concurrency());
|
serverLog(LL_WARNING, "WARNING: server-threads is greater than this machine's core count. Truncating to %u threads", std::thread::hardware_concurrency());
|
||||||
cserver.cthreads = (int)std::thread::hardware_concurrency();
|
cserver.cthreads = (int)std::thread::hardware_concurrency();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user