Merge pull request #7608 from Icinga/bugfix/icinga-history-stream-downtime

IcingaDB: avoid duplicates in icinga:history:stream:downtime
This commit is contained in:
Noah Hilverling 2019-11-12 11:40:45 +01:00 committed by GitHub
commit fa892b613d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -71,9 +71,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);