Fix failure to AUTH with master when masterauth is set last
Former-commit-id: 3fdc8608f35b9e333a1c789b039d16722a6ceef5
This commit is contained in:
parent
38d16ea581
commit
a0447f23ac
@ -5188,6 +5188,8 @@ void *workerThreadMain(void *parg)
|
||||
|
||||
static void validateConfiguration()
|
||||
{
|
||||
updateMasterAuth();
|
||||
|
||||
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());
|
||||
cserver.cthreads = (int)std::thread::hardware_concurrency();
|
||||
|
Loading…
x
Reference in New Issue
Block a user