diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-27 12:36:55 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-27 14:14:47 +0200 |
commit | a79094b29205929ab78d89e10e768787f7aff7d6 (patch) | |
tree | f8f4cdb5867e0eb4c46667ddc7f1541f5c940fb2 /lib/api/settings.rb | |
parent | bb218918b1854a18b413aab1f3b268c4d761f31b (diff) | |
download | gitlab-ce-a79094b29205929ab78d89e10e768787f7aff7d6.tar.gz |
Add instance statistics settings to API
Diffstat (limited to 'lib/api/settings.rb')
-rw-r--r-- | lib/api/settings.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb index 1ca7d23203b..19d5e66c77e 100644 --- a/lib/api/settings.rb +++ b/lib/api/settings.rb @@ -130,6 +130,7 @@ module API optional :gitaly_timeout_medium, type: Integer, desc: 'Medium Gitaly timeout, in seconds. Set to 0 to disable timeouts.' optional :gitaly_timeout_fast, type: Integer, desc: 'Gitaly fast operation timeout, in seconds. Set to 0 to disable timeouts.' optional :usage_ping_enabled, type: Boolean, desc: 'Every week GitLab will report license usage back to GitLab, Inc.' + optional :instance_statistics_visibility_private, type: Boolean, desc: 'When set to `true` Instance statistics will only be available to admins' ApplicationSetting::SUPPORTED_KEY_TYPES.each do |type| optional :"#{type}_key_restriction", |