Cache the high limit warning in RepositoryLimit::AlertComponent

What does this merge request do and why?

The warning check runs two queries across every project in the root namespace. The alert is fragment cached for each user and project, so these queries run again for every user and project in the namespace.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

merge request acceptance checklist

Evaluate this merge request against the merge request acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading