Ability to exclude a repo from automatic housekeeping
I have a problem since https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3206 was introduced. My server isn't especially powerful and is taking 8h40m to 'git gc' one of it's repos, the last repack took 2h30m and the prune took 6h10m. Most other repos on the server take less than 5 minutes to complete the housekeeping task but this one is a special case.
There are two knock-on effects:
- Nightly backup rake-tasks fail because tar can't find files that are being packed or pruned.
- I'm seeing a lot of 60s timeouts, which had largely become a thing of the past.
It would be handy to be able to exclude the repo from automatic housekeeping or maybe schedule a time, at the weekend, when it is relatively safe to consume that amount of time.
FWIW, I'm currently running GitLab-CE Omnibus 8.6.1 on 64-bit Ubuntu 14.10, on an old P4-3.2GHz w/ 4GB RAM and 80GB, 7K2 RPM, 1.5Gb/s HDD. It runs with default settings except that there are three unicorn workers. I can't easily upgrade, so stuck with it for the time being.