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: 07eb25c0b0fa708e73fc9e70693c27e838c40364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class AddNewCircuitbreakerSettingsToApplicationSettings < ActiveRecord::Migration
  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