Tencent / spring-cloud-tencent

Spring Cloud Tencent is a Spring Cloud based Service Governance Framework provided by Tencent.
Other
3.19k stars 492 forks source link

feat:support concurrency rate limit. #1454

Closed SkyeBeFreeman closed 2 weeks ago

SkyeBeFreeman commented 2 weeks ago

PR Type

Feature.

Describe what this PR does for and how you did.

Adding the issue link (#xxx) if possible.

closes #1326

Note

Checklist

Checklist (Optional)

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 43.67816% with 49 lines in your changes missing coverage. Please review.

Project coverage is 68.99%. Comparing base (8654dcd) to head (e882ac5). Report is 2 commits behind head on 2022.

Files with missing lines Patch % Lines
.../cloud/polaris/ratelimit/utils/RateLimitUtils.java 15.78% 14 Missing and 2 partials :warning:
...aris/ratelimit/tsf/TsfRateLimitConfigModifier.java 0.00% 14 Missing :warning:
...ris/ratelimit/filter/QuotaCheckReactiveFilter.java 63.15% 5 Missing and 2 partials :warning:
...s/context/config/extend/tsf/TsfCoreProperties.java 0.00% 6 Missing :warning:
...s/ratelimit/tsf/TsfRateLimitAutoConfiguration.java 0.00% 2 Missing :warning:
...aris/ratelimit/filter/QuotaCheckServletFilter.java 92.30% 0 Missing and 1 partial :warning:
...elimit/tsf/TsfRateLimitBootstrapConfiguration.java 0.00% 1 Missing :warning:
...g/springframework/tsf/core/context/TsfContext.java 0.00% 1 Missing :warning:
...xt/config/extend/tsf/TsfContextConfigModifier.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2022 #1454 +/- ## ============================================ - Coverage 69.80% 68.99% -0.82% Complexity 2 2 ============================================ Files 312 312 Lines 7393 7338 -55 Branches 889 874 -15 ============================================ - Hits 5161 5063 -98 - Misses 1773 1824 +51 + Partials 459 451 -8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.