refactor(ratelimiter): 将限流相关代码从 security 模块中分离,创建独立的 ratelimiter 模块

修复部分幂等配置错误
This commit is contained in:
2025-03-17 21:53:26 +08:00
parent 27a71cf076
commit 2b3de0c67e
20 changed files with 90 additions and 70 deletions

View File

@@ -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() {
}