ID: 11261
Title: Fix performance regression caused by too many live status queries between EC
and core
Component: Event Console
Level: 2
Class: Bug fix
Version: 1.7.0i1
The version 1.6.0p14 introduced an issue affecting the Event Console and it's
Livestatus communication with the local monitoring core.
Instead of querying static configuration related information, which is needed
by the Event Console only once per core restart, these information were not
cached as intended. This resulted in these queries being made over and over
again.
The query was executed in the following situations:
<ul>
<li>Multiple times when querying the "eventconsolestatus" table (Once for
each host known by the Event Console)</li>
<li>Once for each created event</li>
</ul>