Skip to content

Make ci_runners_stale_machines_cleanup_worker job run more frequently

What does this MR do and why?

Describe in detail what your merge request does and why.

Make ci_runners_stale_machines_cleanup_worker job run more frequently. The current daily limit of 1000 stale records per day does not seem to be sufficient to keep with the pace of growth in .com.

image

The worker seems to be taking between ~400ms - 2secs per run. Spreading the load out by 24 runs should make each run take less time, in addition to making it capable of deleting up to 24000 records per day, giving us a lot of headroom.

Changelog: changed

Part of #412298 (closed)

Repo MR
GitLab !121254 (merged)
GitLab Charts gitlab-org/charts/gitlab!3187 (merged)
Omnibus omnibus-gitlab!6906 (merged)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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 Pedro Pombeiro

Merge request reports