Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@xxo1shine
Copy link
Contributor

What does this PR do?
add global rate limiter function

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2023

Codecov Report

Merging #5093 (dc63ec1) into release_v4.7.2 (c1fe7ad) will decrease coverage by 0.01%.
The diff coverage is 80.55%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                 Coverage Diff                  @@
##             release_v4.7.2    #5093      +/-   ##
====================================================
- Coverage             54.77%   54.76%   -0.01%     
- Complexity             8243     8248       +5     
====================================================
  Files                   841      842       +1     
  Lines                 49719    49753      +34     
  Branches               5466     5470       +4     
====================================================
+ Hits                  27232    27248      +16     
- Misses                20352    20360       +8     
- Partials               2135     2145      +10     
Impacted Files Coverage Δ
common/src/main/java/org/tron/core/Constant.java 50.00% <ø> (ø)
...ava/org/tron/common/parameter/CommonParameter.java 55.85% <50.00%> (-0.08%) ⬇️
.../src/main/java/org/tron/core/config/args/Args.java 60.15% <80.00%> (+0.19%) ⬆️
...n/core/services/ratelimiter/GlobalRateLimiter.java 81.25% <81.25%> (ø)
...rg/tron/core/services/http/RateLimiterServlet.java 38.88% <100.00%> (+2.35%) ⬆️
...e/services/ratelimiter/RateLimiterInterceptor.java 40.00% <100.00%> (+1.76%) ⬆️

... and 10 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@xxo1shine xxo1shine merged commit 2b7588c into tronprotocol:release_v4.7.2 Mar 29, 2023
@xxo1shine xxo1shine deleted the rate-limit branch July 14, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.