Skip to content

Limiting projects and groups to avoid db timeout

Hitesh Raghuvanshi requested to merge 437282-limit-projects-groups into master

What does this MR do and why?

Groups with large no. of projects and subgroups are facing issues with db statement timeouts or read timeout, as for them the no. of projects is as huge as 30,000, which is hard to process in sync. This MR is introducing a temporary fix for letting the audit events page to load and permanent fix will be part of #438351 (closed).

The changes here limits the projects and subgroups to 100 only.

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