{
AssertOnWorkQueue();
+ double startTime = Utility::GetTime();
+
//TODO: "Publish" the config dump by adding another event, globally or by object
ExecuteQuery({ "MULTI" });
}
ExecuteQuery({ "EXEC" });
+
+ Log(LogInformation, "RedisWriter")
+ << "Initial config/status dump finished in " << Utility::GetTime() - startTime << " seconds.";
}
void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, const String& typeName, bool runtimeUpdate)
String password = GetPassword();
+ /* TODO: exception is fired but terminates reconnect silently.
+ * Error case: Password does not match, or even: "Client sent AUTH, but no password is set" which also results in an error.
+ */
if (!password.IsEmpty())
ExecuteQuery({ "AUTH", password });