summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-11-04 12:53:12 -0600
committerPatricio Cano <suprnova32@gmail.com>2016-11-10 11:38:10 -0600
commit9e2964c15a7d387e46e25c83afa478c12a856d77 (patch)
treed17fbb92b21696b765b1eb3d903330c5383a7213 /app/models
parentd366a943ffe2ae6c3599c2ebc4469d49a103bacb (diff)
downloadgitlab-ce-9e2964c15a7d387e46e25c83afa478c12a856d77.tar.gz
Allow certain Sidekiq jobs to be throttled
Diffstat (limited to 'app/models')
-rw-r--r--app/models/application_setting.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb
index bb60cc8736c..b728083e91c 100644
--- a/app/models/application_setting.rb
+++ b/app/models/application_setting.rb
@@ -180,6 +180,7 @@ class ApplicationSetting < ActiveRecord::Base
container_registry_token_expire_delay: 5,
repository_storages: ['default'],
user_default_external: false,
+ sidekiq_throttling_enabled: false,
housekeeping_enabled: true,
housekeeping_bitmaps_enabled: true,
housekeeping_incremental_repack_period: 10,