RuoYi-Vue-Plus/ruoyi-common/ruoyi-common-ratelimiter
Angell 13f00d1c0d fix(common-ratelimiter): RateLimiterAspect 兼容非 HTTP 线程(gRPC)
5.X 分支限流切面位于 ruoyi-common-ratelimiter 模块,getCombineKey 与 6.X 一样
直接调用 ServletUtils.getRequest().getRequestURI(),非 HTTP 线程(如 gRPC 的
grpc-default-executor)无请求上下文导致 NPE,被切面包装为“服务器限流异常”,
使 @RateLimiter 注解在 gRPC 场景每次调用都失败。修复:request 为 null 时
跳过 URI/IP 段,仅以注解 key 限流;HTTP 线程行为不变。
2026-09-09 13:33:27 +08:00
..
src/main fix(common-ratelimiter): RateLimiterAspect 兼容非 HTTP 线程(gRPC) 2026-09-09 13:33:27 +08:00
pom.xml update 优化 简化 flatten 插件语法写法 2023-05-23 17:16:36 +08:00