diff options
| author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-12 17:07:54 +0200 |
|---|---|---|
| committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-04-12 17:07:54 +0200 |
| commit | 97f4ffff1e7b5da94e18edc20c009ffb46784187 (patch) | |
| tree | 5d49026f25bfacb529dafc9142250681f4263cfb /app/views/admin | |
| parent | b37d3b9423991763ad03fca791a1daf473dafed1 (diff) | |
| download | gitlab-ce-97f4ffff1e7b5da94e18edc20c009ffb46784187.tar.gz | |
Add a 'circuit breaker' for repo checks
Diffstat (limited to 'app/views/admin')
| -rw-r--r-- | app/views/admin/application_settings/_form.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml index de86dacbb12..afd88465a78 100644 --- a/app/views/admin/application_settings/_form.html.haml +++ b/app/views/admin/application_settings/_form.html.haml @@ -275,5 +275,18 @@ .col-sm-10 = f.text_field :sentry_dsn, class: 'form-control' + %fieldset + %legend Repository Checks + .form-group + .col-sm-offset-2.col-sm-10 + .checkbox + = f.label :repository_checks_enabled do + = f.check_box :repository_checks_enabled + Enable Repository Checks + .help-block + GitLab will periodically run + %a{ href: 'https://www.kernel.org/pub/software/scm/git/docs/git-fsck.html', target: 'blank' } 'git fsck' + in all project and wiki repositories to look for silent disk corruption issues. + .form-actions = f.submit 'Save', class: 'btn btn-save' |
