mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
refactor(ratelimiter): 将限流相关代码从 security 模块中分离,创建独立的 ratelimiter 模块
修复部分幂等配置错误
This commit is contained in:
@@ -49,11 +49,6 @@ public class PropertiesConstants {
|
||||
*/
|
||||
public static final String SECURITY_CRYPTO = SECURITY + StringConstants.DOT + "crypto";
|
||||
|
||||
/**
|
||||
* 限流器配置
|
||||
*/
|
||||
public static final String SECURITY_LIMITER = SECURITY + StringConstants.DOT + "limiter";
|
||||
|
||||
/**
|
||||
* 敏感词配置
|
||||
*/
|
||||
@@ -139,10 +134,15 @@ public class PropertiesConstants {
|
||||
*/
|
||||
public static final String TENANT = CONTINEW_STARTER + StringConstants.DOT + "tenant";
|
||||
|
||||
/**
|
||||
* 限流配置
|
||||
*/
|
||||
public static final String RATE_LIMITER = CONTINEW_STARTER + StringConstants.DOT + "rate-limiter";
|
||||
|
||||
/**
|
||||
* 幂等配置
|
||||
*/
|
||||
public static final String IDEMPOTENT = "idempotent";
|
||||
public static final String IDEMPOTENT = CONTINEW_STARTER + StringConstants.DOT + "idempotent";
|
||||
|
||||
private PropertiesConstants() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user