Skip to content
代码片段 群组 项目
提交 db098cd8 编辑于 作者: Hinam Mehra's avatar Hinam Mehra 提交者: Eugie Limpin
浏览文件

Reduce phone verification rate-limit threshold

上级 5443fd86
No related branches found
No related tags found
无相关合并请求
...@@ -52,8 +52,8 @@ def rate_limits # rubocop:disable Metrics/AbcSize ...@@ -52,8 +52,8 @@ def rate_limits # rubocop:disable Metrics/AbcSize
project_testing_integration: { threshold: 5, interval: 1.minute }, project_testing_integration: { threshold: 5, interval: 1.minute },
email_verification: { threshold: 10, interval: 10.minutes }, email_verification: { threshold: 10, interval: 10.minutes },
email_verification_code_send: { threshold: 10, interval: 1.hour }, email_verification_code_send: { threshold: 10, interval: 1.hour },
phone_verification_send_code: { threshold: 10, interval: 1.day }, phone_verification_send_code: { threshold: 5, interval: 1.day },
phone_verification_verify_code: { threshold: 10, interval: 1.day }, phone_verification_verify_code: { threshold: 5, interval: 1.day },
namespace_exists: { threshold: 20, interval: 1.minute }, namespace_exists: { threshold: 20, interval: 1.minute },
update_namespace_name: { threshold: -> { application_settings.update_namespace_name_rate_limit }, interval: 1.hour }, update_namespace_name: { threshold: -> { application_settings.update_namespace_name_rate_limit }, interval: 1.hour },
fetch_google_ip_list: { threshold: 10, interval: 1.minute }, fetch_google_ip_list: { threshold: 10, interval: 1.minute },
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册