Revert code from icinga.com update

This commit is contained in:
Michael Friedrich 2018-10-24 12:32:36 +02:00
parent 7da88c0001
commit 001ffda61c
2 changed files with 0 additions and 13 deletions

View File

@ -49,15 +49,6 @@ void ElasticsearchWriter::OnConfigLoaded()
ObjectImpl<ElasticsearchWriter>::OnConfigLoaded();
m_WorkQueue.SetName("ElasticsearchWriter, " + GetName());
if (!GetEnableHa()) {
Log(LogDebug, "ElasticsearchWriter")
<< "HA functionality disabled. Won't pause connection: " << GetName();
SetHAMode(HARunEverywhere);
} else {
SetHAMode(HARunOnce);
}
}
void ElasticsearchWriter::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr& perfdata)

View File

@ -37,10 +37,6 @@ class ElasticsearchWriter : ConfigObject
[config] int flush_threshold {
default {{{ return 1024; }}}
};
[config] bool enable_ha {
default {{{ return true; }}}
};
};
}