Skip to content

Modify ReactiveCaching concern

Reuben Pereira requested to merge 32351-reactive-caching into master

What does this MR do?

  1. When the ReactiveCaching concern finishes a job, it schedules the job to be executed again after reactive_cache_refresh_interval in order to keep the cache fresh. Add a new boolean attribute to ReactiveCaching called reactive_cache_enqueue_updates. The default value of this attribute is true. Setting it to false prevents re-enqueuing of jobs by reactive caching.

  2. Move the exclusive lease key name into a method, so that the method can be overridden in order to override the default exclusive lease key name.

Issue: #32351 (closed)

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 🤖 GitLab Bot 🤖

Merge request reports