20171017145932_add_new_circuitbreaker_settings_to_application_settings.rb 452 Bytes
Newer Older
1
class AddNewCircuitbreakerSettingsToApplicationSettings < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
  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