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. #1456

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 69.06%. Comparing base (f8ac4f5) to head (67ce7d8). Report is 2 commits behind head on 2021.

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 @@ ## 2021 #1456 +/- ## ============================================ - Coverage 69.86% 69.06% -0.80% Complexity 2 2 ============================================ Files 312 312 Lines 7396 7341 -55 Branches 891 876 -15 ============================================ - Hits 5167 5070 -97 - Misses 1770 1821 +51 + Partials 459 450 -9 ```

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