- store @participants in variable
- store result of subscribed? call into variable
In total it reduce amount of SQL queries for issue or merge_request with 10 comments/participants almost twice.
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
In total it reduce amount of SQL queries for issue or merge_request with 10 comments/participants almost twice.