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/migrate/20240116205943_add_elasticsearch_max_code_indexing_concurrency_to_application_settings.rb')
-rw-r--r--db/migrate/20240116205943_add_elasticsearch_max_code_indexing_concurrency_to_application_settings.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20240116205943_add_elasticsearch_max_code_indexing_concurrency_to_application_settings.rb b/db/migrate/20240116205943_add_elasticsearch_max_code_indexing_concurrency_to_application_settings.rb
new file mode 100644
index 00000000000..c12edcedc84
--- /dev/null
+++ b/db/migrate/20240116205943_add_elasticsearch_max_code_indexing_concurrency_to_application_settings.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class AddElasticsearchMaxCodeIndexingConcurrencyToApplicationSettings < Gitlab::Database::Migration[2.2]
+ enable_lock_retries!
+ milestone '16.9'
+
+ def change
+ add_column :application_settings,
+ :elasticsearch_max_code_indexing_concurrency,
+ :integer,
+ default: 30,
+ null: false,
+ if_not_exists: true
+ end
+end