Skip to content

Switch ThreadMemoryCache to ProcessMemoryCache

Heinrich Lee Yu requested to merge switch-thread-to-process-memory-cache into master

What does this MR do?

Thread-local cache is ineffective when using Puma because unused threads are reaped until it reaches the min threads setting.

We already tested the ProcessMemoryCache for feature flags (!26935 (merged)) so this enables it for other classes where we're still using ThreadMemoryCache

Screenshots

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 Heinrich Lee Yu

Merge request reports