Optimise ci_namespace_mirrors_for_group_members to search prefix
Currently the `ci_namespace_mirrors_for_group_members` would fetch all IDs of all groups that user is member of. However, in most of cases user is owner/maintainer of many subgroups. To optimise heavily for this usage pattern find the top-most prefixes (shortest) to avoid searching having to include IDs of childrens. Changelog: changed
Showing
Please register or sign in to comment