mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
60f219450f
commit
e52848b923
@ -416,6 +416,9 @@ void DbConnection::PrepareDatabase(void)
|
||||
|
||||
void DbConnection::ValidateFailoverTimeout(const String& location, const Dictionary::Ptr& attrs)
|
||||
{
|
||||
if (!attrs->Contains("failover_timeout"))
|
||||
return;
|
||||
|
||||
Value failover_timeout = attrs->Get("failover_timeout");
|
||||
if (failover_timeout < 60) {
|
||||
ConfigCompilerContext::GetInstance()->AddMessage(true, "Validation failed for " +
|
||||
|
Loading…
x
Reference in New Issue
Block a user