From a0447f23ac2cdfc09dd68509f8f1877ec98c394a Mon Sep 17 00:00:00 2001 From: John Sully Date: Mon, 6 Apr 2020 01:24:59 -0400 Subject: [PATCH] Fix failure to AUTH with master when masterauth is set last Former-commit-id: 3fdc8608f35b9e333a1c789b039d16722a6ceef5 --- src/server.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server.cpp b/src/server.cpp index 98856a50a..874d391c6 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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();