diff options
Diffstat (limited to 'doc/administration/housekeeping.md')
-rw-r--r-- | doc/administration/housekeeping.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/administration/housekeeping.md b/doc/administration/housekeeping.md index d58989db70c..3a2b3657145 100644 --- a/doc/administration/housekeeping.md +++ b/doc/administration/housekeeping.md @@ -166,6 +166,10 @@ You can change this default in Gitaly configuration. The following snippet enables daily background repository maintenance starting at 23:00 for 1 hour for the `default` storage: +::Tabs + +:::TabTitle Self-compiled (source) + ```toml [daily_maintenance] start_hour = 23 @@ -182,6 +186,33 @@ maintenance: disabled = true ``` +:::TabTitle Linux package (Omnibus) + +```ruby +gitaly['configuration'] = { + daily_maintenance: { + disabled: false, + start_hour: 23, + start_minute: 00, + duration: '1h', + storages: ['default'], + }, +} +``` + +Use the following snippet to completely disable background repository +maintenance: + +```ruby +gitaly['configuration'] = { + daily_maintenance: { + disabled: true, + }, +} +``` + +::EndTabs + ## Object pool repositories Object pool repositories are used by GitLab to deduplicate objects across forks |