Commit ee9e3c9f authored by Sean McGivern's avatar Sean McGivern

Merge branch 'mark-background-migrations-as-throttled' into 'master'

Mark background migrations as throttled

See merge request gitlab-org/gitlab!29172
parents a661d092 718ed2c0
...@@ -944,7 +944,7 @@ ...@@ -944,7 +944,7 @@
- :name: background_migration - :name: background_migration
:feature_category: :database :feature_category: :database
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :throttled
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
......
...@@ -4,6 +4,7 @@ class BackgroundMigrationWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -4,6 +4,7 @@ class BackgroundMigrationWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
feature_category :database feature_category :database
urgency :throttled
# The minimum amount of time between processing two jobs of the same migration # The minimum amount of time between processing two jobs of the same migration
# class. # class.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment