dengliming opened a new pull request, #7120: URL: https://github.com/apache/shenyu/pull/7120
## Summary - remove expired sliding-window entries before counting current requests - prevent a stale entry from causing a false rate-limit rejection - add an embedded Redis regression test for a full but expired window ## Testing - `mvn -q -pl shenyu-plugin/shenyu-plugin-fault-tolerance/shenyu-plugin-ratelimiter -am -DskipTests=false -Dcheckstyle.skip=false -Dtest=RedisRateLimiterScriptsTest -DfailIfNoTests=false test` Fixes #6754 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
