mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 02:01:21 +00:00
ACL: load ACL file at startup. Prevent silly configurations.
This commit is contained in:
@ -4908,11 +4908,7 @@ int main(int argc, char **argv) {
|
||||
linuxMemoryWarnings();
|
||||
#endif
|
||||
moduleLoadFromQueue();
|
||||
if (ACLLoadConfiguredUsers() == C_ERR) {
|
||||
serverLog(LL_WARNING,
|
||||
"Critical error while loading ACLs. Exiting.");
|
||||
exit(1);
|
||||
}
|
||||
ACLLoadUsersAtStartup();
|
||||
loadDataFromDisk();
|
||||
if (server.cluster_enabled) {
|
||||
if (verifyClusterConfigWithData() == C_ERR) {
|
||||
|
Reference in New Issue
Block a user