Skip to content

Optimize merge requests users usage data

Alper Akgun requested to merge aa-refactor-merge-requests-users-counter into master

What does this MR do?

Optimize merge requests users usage data computation

  • Adds memoized user_minimum_id & user_maximum_id to avoid recalculation
  • Removes manual batch_size as the batch counter will find the optimum batch size for each self-managed instance

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Alper Akgun

Merge request reports