Draft: Vulnerability Report: Add batch loading
What does this MR do and why?
Vulnerability Report: Add batch loading
The query that is used to load the main data for the vulnerability report is very high in complexity and at the limit of the threshold.
This is mainly due to the fact that we support a maximum of 100 results per page, which is a big complexity multiplier.
This change introduces a batch-loading, which kicks in when the selected page size is larger than 50. It will then fire off two queries, and then show the first result as soon as it is available.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.