Add a way to write batches of refs
Problem
Occasional N+1 error in Sidekiq workers due to project imports creating lots of merge requests and hence keep around refs: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6922#note_95234869
@stanhu Unfortunately I was unable to find an example in Sentry or Kibana. I searched for "following call site called" or "TooManyInvocationsError".
Possible Solution
Add a way to write batches of refs.
Edited by Michael Kozono