Skip to content

Increase cache timing for open issues count

What does this MR do?

Increase the cache timing for open issue count per user.

This is an expensive query that is invalidated easily, and the DB load is significant. It's an easy win by essentially offloading more to Redis (ie. it will remember the count for longer than perhaps necessary, but this can save a rather expensive DB hit, especially as opened issue count appears at the top right of every page layout)

image

Screenshots (strongly suggested)

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

Related to #325470 (closed)

Edited by charlie ablett

Merge request reports

Loading