Add option for more aggressive housekeeping
## Originating issue **https://gitlab.com/gitlab-org/gitlab/-/issues/329555** ## Proposal There should be an additional option as part of Repository Administration options (i.e. under `/admin/application_settings/repository`) to adjust the minimum age of loose objects to prune as part of housekeeping jobs. We ran into a situation yesterday where a customer's repo had 11GB of garbage generated within a 4 hour window in GitLab. This resulted in a halt to their work and a lengthy investigation. https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/13228 I've also seen (in the GitLab Support team) many emergencies from customers come in where the problem ended up being garbage in the repo. We run the housekeeping task but it doesn't actually clean anything up. ## Related documentation - https://docs.gitlab.com/ee/raketasks/cleanup.html - https://git-scm.com/docs/git-gc ## Mockups | Current Admin-panel settings | Proposed Admin-panel settings | | ------ | ------ | | ![Screen_Shot_2021-05-20_at_11.56.11_AM](/uploads/e6b17d34b427d436033909f2b42a3372/Screen_Shot_2021-05-20_at_11.56.11_AM.png) | ![image](/uploads/98d1614ffe9c4c9f8f5fde3f89afc0b3/image.png) |
epic