Werk #17494: Improve performance when calculating pending changes icon

Component Setup
Title Improve performance when calculating pending changes icon
Date Feb 4, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When calculating the number of changes when rendering the pending changes icon, a high number of changes was causing performance issues.

The calculation of pending changes is now limited to 10 changes. The icon will show "10+ changes" if more changes are found.

To the list of all Werks