icinga2/lib
Julian Brost 2d080f14eb IcingaDB: start initial dump in callback instead of timer
Previously, the initial config dump was started in a timer executed
every 15 seconds. During the first execution of the timer, the Redis
connection is typically not established yet. Therefore, this delayed the
initial sync by up to 15 seconds.

This commit instead triggers the sync from a callback that is executed
after the connection is successfully established.

The timer is removed completely. On first glance, it looks like it would
ensure that a lost connection is reestablished, but this is handled
internally by RedisConnection. After the config has been dumped once,
that timer wouldn't ever attempt a reconnect anyways.
2021-01-20 09:31:27 +01:00
..
base Merge pull request #8515 from Icinga/feature/update-ssl-context-after-accepting-new-connection-8501 2021-01-15 11:21:36 +01:00
checker CheckerComponent#Stop(): don't wait for checks 2020-06-09 12:03:02 +02:00
cli Merge pull request #8594 from Icinga/feature/remove-upq-from-activate-items 2021-01-15 12:09:57 +01:00
compat Revert "Make NotificationResult available for events: Cluster and Features" 2020-01-07 14:20:59 +01:00
config Remove upq from ConfigItem::ActivateItems 2021-01-13 15:19:55 +01:00
db_ido Introduce ReportIdoCheck() 2020-11-23 16:40:32 +01:00
db_ido_mysql IDO: Make sure to insert program status during reconnect() 2020-10-16 12:30:57 +02:00
db_ido_pgsql ido_pgsql: do not set standard_conforming_strings to off 2020-10-29 16:28:18 +01:00
icinga Merge pull request #8562 from Icinga/bugfix/fix-no-renotification-for-non-ok-state-changes-8545 2021-01-14 17:49:29 +01:00
icingadb IcingaDB: start initial dump in callback instead of timer 2021-01-20 09:31:27 +01:00
livestatus Livestatus: append app name to program_version 2020-03-19 10:33:01 +01:00
methods Fix code style 2020-11-23 16:39:24 +01:00
mysql_shim account for adjusted interface of mysql8 (now utilizes c99 bools instead of my_bool labelled chars) 2019-04-29 00:18:15 +02:00
notification Merge pull request #8242 from Icinga/bugfix/reminder-notifications-before-suppressed-8201 2020-10-14 11:03:28 +02:00
perfdata Use content_length method for setting the Content-Length header 2020-12-22 16:27:38 +01:00
pgsql_shim Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
remote Merge pull request #8594 from Icinga/feature/remove-upq-from-activate-items 2021-01-15 12:09:57 +01:00
CMakeLists.txt Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00