diff options
Diffstat (limited to 'app/workers/database/batched_background_migration/ci_database_worker.rb')
-rw-r--r-- | app/workers/database/batched_background_migration/ci_database_worker.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/workers/database/batched_background_migration/ci_database_worker.rb b/app/workers/database/batched_background_migration/ci_database_worker.rb index ee9cbba7076..b04db87631a 100644 --- a/app/workers/database/batched_background_migration/ci_database_worker.rb +++ b/app/workers/database/batched_background_migration/ci_database_worker.rb @@ -4,12 +4,8 @@ module Database class CiDatabaseWorker # rubocop:disable Scalability/IdempotentWorker include SingleDatabaseWorker - def self.enabled? - Feature.enabled?(:execute_batched_migrations_on_schedule_ci_database, type: :ops) - end - def self.tracking_database - @tracking_database ||= Gitlab::Database::CI_DATABASE_NAME + @tracking_database ||= Gitlab::Database::CI_DATABASE_NAME.to_sym end end end |