Merge branch 'redis_6_merge' into keydbpro
Former-commit-id: 8d8115ff59f5838e13e911416eff7dfe2c0d92dc
This commit is contained in:
commit
23d75b45ec
@ -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