Fix N+1 in environment serializer from multiple stop actions
What does this MR do and why?
Fixes N+1 db queries introduced in Environments::Serializer
from environment multiple stop actions as described in #358780 (closed)
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.
Related to #358780 (closed)
Edited by Bala Kumar