diff options
Diffstat (limited to 'lib/gitlab/sidekiq_middleware/size_limiter/validator.rb')
-rw-r--r-- | lib/gitlab/sidekiq_middleware/size_limiter/validator.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/gitlab/sidekiq_middleware/size_limiter/validator.rb b/lib/gitlab/sidekiq_middleware/size_limiter/validator.rb index 3de6c8df8aa..acc3e1712ab 100644 --- a/lib/gitlab/sidekiq_middleware/size_limiter/validator.rb +++ b/lib/gitlab/sidekiq_middleware/size_limiter/validator.rb @@ -29,7 +29,12 @@ module Gitlab # The worker classes aren't constants here, because that would force # Application Settings to be loaded earlier causing failures loading # the environment in rake tasks - EXEMPT_WORKER_NAMES = %w[BackgroundMigrationWorker BackgroundMigration::CiDatabaseWorker Database::BatchedBackgroundMigrationWorker].to_set + + EXEMPT_WORKER_NAMES = %w[BackgroundMigrationWorker + BackgroundMigration::CiDatabaseWorker + Database::BatchedBackgroundMigrationWorker + Database::BatchedBackgroundMigration::CiDatabaseWorker].to_set + JOB_STATUS_KEY = 'size_limiter' class << self |