Skip to content
Snippets Groups Projects

Log duration for various methods in AuthorizedProjectsWorker

Merged Hinam Mehra requested to merge 484754-log-authorized-project-worker-duration into master
All threads resolved!

What does this MR do and why?

  • We are experiencing issues with the AuthorizedProjectsWorker, especially around how long each request is taking.

  • The worker calls Users::RefreshAuthorizedProjectsService to calculate which records in the project_authorizations table need to be refreshed and saves those changes.

  • This MR adds duration stats to the different steps in this service to figure out which part of the codebase needs to be optimised.

  • No changelog needed since it's a developer facing change

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #484754 (closed)

Edited by Hinam Mehra

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading