Skip to content

Added limit to projects and reduced batch size

Hitesh Raghuvanshi requested to merge 437282-add-limit into master

What does this MR do and why?

Groups with huge no. of projects and subgroups are facing issue with statement timeout in group's audit event destination page, because of fetching all projects and subgroups at once.

Adding a limit of 20 projects for temporarily fixing the issue, as the users are not able to access the page. Meanwhile we will be working on a longterm fix in #438351 (closed) for fetching projects and groups in async.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #437282 (closed)

Edited by Hitesh Raghuvanshi

Merge request reports