IcingaDB: avoid duplicates in icinga:history:stream:downtime

This commit is contained in:
Alexander A. Klimov 2019-11-06 10:41:54 +01:00
parent d81c15ca2f
commit 592872a6c3
1 changed files with 1 additions and 3 deletions

View File

@ -70,9 +70,7 @@ void IcingaDB::ConfigStaticInitialize()
IcingaDB::VersionChangedHandler(object);
});
/* fixed downtime start */
Downtime::OnDowntimeStarted.connect(&IcingaDB::DowntimeStartedHandler);
/* flexible downtime start */
/* downtime start */
Downtime::OnDowntimeTriggered.connect(&IcingaDB::DowntimeStartedHandler);
/* fixed/flexible downtime end or remove */
Downtime::OnDowntimeRemoved.connect(&IcingaDB::DowntimeRemovedHandler);