Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20221122132812_schedule_prune_stale_project_export_jobs.rb')
-rw-r--r--db/post_migrate/20221122132812_schedule_prune_stale_project_export_jobs.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/db/post_migrate/20221122132812_schedule_prune_stale_project_export_jobs.rb b/db/post_migrate/20221122132812_schedule_prune_stale_project_export_jobs.rb
deleted file mode 100644
index 871224ea18e..00000000000
--- a/db/post_migrate/20221122132812_schedule_prune_stale_project_export_jobs.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# frozen_string_literal: true
-
-class SchedulePruneStaleProjectExportJobs < Gitlab::Database::Migration[2.0]
- disable_ddl_transaction!
- restrict_gitlab_migration gitlab_schema: :gitlab_main
-
- MIGRATION = 'PruneStaleProjectExportJobs'
- DELAY_INTERVAL = 2.minutes
-
- def up
- queue_batched_background_migration(
- MIGRATION,
- :project_export_jobs,
- :id,
- job_interval: DELAY_INTERVAL
- )
- end
-
- def down
- delete_batched_background_migration(MIGRATION, :project_export_jobs, :id, [])
- end
-end