Skip to content
代码片段 群组 项目
未验证 提交 432fb7db 编辑于 作者: Jerry Seto's avatar Jerry Seto 提交者: GitLab
浏览文件

Preload all protected branches for branches endpoint

The protected_branches association was being preloaded, but the
all_protected_branches method is being used in some cases leading to
N+1 queries for unloaded access level associations.

Change all_protected_branches into an association so that it can be
preloaded and used consistently.
上级 c8144cbb
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册