Skip to content
代码片段 群组 项目
提交 b51e7099 编辑于 作者: 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
No related branches found
No related tags found
无相关合并请求
# 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
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册