Commit b51e7099 authored by Krasimir Angelov's avatar Krasimir Angelov

Merge branch 'fix-throttle-deprecated-api-columns-db-migration' into 'master'

Fix default values for the deprecated API throttle

See merge request gitlab-org/gitlab!71449
parents 7fb683a5 86cb9284
# frozen_string_literal: true
class FixDeprecatedApiThrottleDefaults < Gitlab::Database::Migration[1.0]
def change
change_column_default :application_settings, :throttle_unauthenticated_deprecated_api_requests_per_period, from: 3600, to: 1800
change_column_default :application_settings, :throttle_authenticated_deprecated_api_period_in_seconds, from: 1800, to: 3600
end
end
4b2c1b8e80f481d2dbbcfcb61c0a3d3081cbe4081fdd710040a028d72bd5d0e4
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment