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

20171017145932_add_new_circuitbreaker_settings_to_application_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4a0cadea364ba8df7b1d2c2feb020014edd9f7d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class AddNewCircuitbreakerSettingsToApplicationSettings < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :application_settings,
               :circuitbreaker_access_retries,
               :integer,
               default: 3
    add_column :application_settings,
               :circuitbreaker_backoff_threshold,
               :integer,
               default: 80
  end
end