feat(backend): 注册限流阈值改为可配置
This commit is contained in:
1 parent
3403a521eb
commit
758eb69f55
5 files changed
+73
-11
No files matched your search
@@ -17,6 +17,9 @@ spring:
|
||||
timeout-per-shutdown-phase: 30s
|
||||
|
||||
fruitshorts:
|
||||
auth:
|
||||
register-max-per-ip-per-day: 5
|
||||
register-max-per-device-per-day: 3
|
||||
media:
|
||||
# 生产必须开启播放地址签名(docs/12-上线检查清单)
|
||||
signature-required: true
|
||||
|
||||
@@ -43,6 +43,10 @@ springdoc:
|
||||
path: /v3/api-docs
|
||||
|
||||
fruitshorts:
|
||||
auth:
|
||||
# 注册频控;小于等于 0 表示不限制。开发环境默认关闭,生产建议 5 / 3。
|
||||
register-max-per-ip-per-day: 0
|
||||
register-max-per-device-per-day: 0
|
||||
interaction:
|
||||
# MACHINE_FIRST:机审通过即发布,命中 REVIEW 级敏感词才转人工
|
||||
# PRE_REVIEW :全部先审后发(生产建议)
|
||||
|
||||
Reference in new issue
Block a user