Prevent ExpireBuildArtifactsWorker from running
What does this MR do?
- This job is suspect of causing high load on a database servers
- It's been identified in
Incident#5952
that we can remove this worker from execution - In order to accomplish this task, we configure it to run every year on
the 22nd of the month at 1AM
- This should give us a year to figure out what to do with this worker
- The default of this worker is to run every 7 minutes
- Reference: https://gitlab.com/gitlab-org/gitlab/-/blob/acbfa38f6ff943de7b3bb0007b522eb6f83880f8/config/initializers/1_settings.rb#L438-440
This is a mitigation in response to gitlab-com/gl-infra/production#5952 (closed)
Author Check-list
Please read the Contributing document and once you do, complete the following:
-
Assign to the correct reviewer per the contributing document -
Apply the correct metadata per the contributing document -
Link to related MRs for applying the changes on other environments -
Link to related Chef changes -
If necessary link to a Criticality 4 Change Request issue
Reviewer Check-list
-
Reviewed the diff jobs to confirm changes are as expected -
No changes shown in the diffs not associated with this MR - This may require a rebase or further investigation
Applier Check-list
-
Make sure there is no ongoing deployment for the affected envs before merging (see #announcements slack channel)
Edited by Grzegorz Bizon