Skip to content

Add index to count pending mirror updates

Andreas Brandl requested to merge ab-count-pending-mirror-updates into master

What does this MR do?

This adds an index to support a query from gitlab-monitor. It is rather high-frequency on GitLab.com and currently takes about 1,500ms to execute. Adding the index brings down execution time at about 1ms.

Conformity

Edited by Andreas Brandl

Merge request reports