gitlab-org--gitlab-foss/changelogs/unreleased/sh-fix-award-emoji-nplus-one-participants.yml
Stan Hu 775211bc70 Fix N+1 queries when loading participants for a commit note
We saw about 10,000 SQL queries for some commits in the NewNoteWorker,
which stalled the Sidekiq queue for other new notes. The notification
service took up to 8 minutes to process the commits. Avoiding this
N+1 query brings the time down significantly.

Closes #45526
2018-04-18 22:04:22 -07:00

5 lines
112 B
YAML

---
title: Fix N+1 queries when loading participants for a commit note
merge_request:
author:
type: performance