diff options
Diffstat (limited to 'app/workers/schedule_migrate_external_diffs_worker.rb')
-rw-r--r-- | app/workers/schedule_migrate_external_diffs_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/schedule_migrate_external_diffs_worker.rb b/app/workers/schedule_migrate_external_diffs_worker.rb index 04a370f01af..8abb5922b54 100644 --- a/app/workers/schedule_migrate_external_diffs_worker.rb +++ b/app/workers/schedule_migrate_external_diffs_worker.rb @@ -5,6 +5,8 @@ class ScheduleMigrateExternalDiffsWorker include CronjobQueue include Gitlab::ExclusiveLeaseHelpers + feature_category :source_code_management + def perform in_lock(self.class.name.underscore, ttl: 2.hours, retries: 0) do MergeRequests::MigrateExternalDiffsService.enqueue! |