summaryrefslogtreecommitdiff
path: root/db/migrate/20171012101043_add_circuit_breaker_properties_to_application_settings.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20171012101043_add_circuit_breaker_properties_to_application_settings.rb')
-rw-r--r--db/migrate/20171012101043_add_circuit_breaker_properties_to_application_settings.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/db/migrate/20171012101043_add_circuit_breaker_properties_to_application_settings.rb b/db/migrate/20171012101043_add_circuit_breaker_properties_to_application_settings.rb
deleted file mode 100644
index 91bba07b4d7..00000000000
--- a/db/migrate/20171012101043_add_circuit_breaker_properties_to_application_settings.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-# See http://doc.gitlab.com/ce/development/migration_style_guide.html
-# for more information on how to write migrations for GitLab.
-
-class AddCircuitBreakerPropertiesToApplicationSettings < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def change
- add_column :application_settings,
- :circuitbreaker_failure_count_threshold,
- :integer,
- default: 160
- add_column :application_settings,
- :circuitbreaker_failure_wait_time,
- :integer,
- default: 30
- add_column :application_settings,
- :circuitbreaker_failure_reset_time,
- :integer,
- default: 1800
- add_column :application_settings,
- :circuitbreaker_storage_timeout,
- :integer,
- default: 30
- end
-end