Skip to content

Use memoized start/finish for metrics based on issues table

What does this MR do?

In !35298 (merged), the min/max Issue IDs were memoized, and it was noted that we might want to use these for other metrics.

This MR uses those memoized values where applicable. Each time we use memoized min/max values, we eliminate the two queries that would have been performed to get them.

Closes #224602 (closed)

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 Alishan Ladhani

Merge request reports