Memoize Project#has_active_integrations? check
What does this MR do and why?
After a CI build is created, this call is repeatedly made for each
build in the pipeline. We can avoid these queries by memoizing the
scope, just as Project#has_active_hooks?
does.
Relates to &7290
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu