Skip to content

Lower ProcessSyncEventsWorker dedupe TTL to 1 minute

Stan Hu requested to merge sh-process-sync-events-worker-ttl into master

What does this MR do and why?

Previously the TTL was set to the default of 6 hours, which caused delays in syncing of the Ci::NamespaceMirror entries. This sync is crucial for users to have access to CI-related resources, such as runners.

Lower this TTL for both projects and namespaces to 1 minute. Over the past week, the longest job took 38 seconds, and that only happened once (https://log.gprd.gitlab.net/goto/c98c4be0-f09d-11ed-a017-0d32180b1390).

Relates to:

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports