Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cherry picked 2487 #2518

Merged
merged 1 commit into from
May 21, 2024
Merged

chore: cherry picked 2487 #2518

merged 1 commit into from
May 21, 2024

Conversation

quiet-node
Copy link
Member

Description:
Cherry picked #2487

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

…ture in ws server (#2474) (#2487)

* feat: added shouldRateLimitOnMethod() to connectionLimiter

Signed-off-by: Logan Nguyen <[email protected]>

* feat: applied shouldRateLimitOnMethod() on batch requests

Signed-off-by: Logan Nguyen <[email protected]>

* feat: applied shouldRateLimitOnMethod() on single requests

Signed-off-by: Logan Nguyen <[email protected]>

* feat: added methodsCounter metric for batch_requests

Signed-off-by: Logan Nguyen <[email protected]>

* fix: skipped rateLimit for eth_subscribe and eth_unsubscribe

Signed-off-by: Logan Nguyen <[email protected]>

* test: added acceptancetest for rate limiter in the WS

Signed-off-by: Logan Nguyen <[email protected]>

* test: enabled test_ws_server in ratelimiter CI

Signed-off-by: Logan Nguyen <[email protected]>

---------

Signed-off-by: Logan Nguyen <[email protected]>
@quiet-node quiet-node added P1 process Build, test and deployment-process related tasks labels May 21, 2024
@quiet-node quiet-node self-assigned this May 21, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

Tests

    2 files  147 suites   13s ⏱️
820 tests 819 ✔️ 1 💤 0
832 runs  831 ✔️ 1 💤 0

Results for commit d99e2e0.

Copy link

github-actions bot commented May 21, 2024

Acceptance Tests

     28 files     353 suites   51m 51s ⏱️
   594 tests    585 ✔️ 3 💤   6
1 521 runs  1 497 ✔️ 9 💤 15

Results for commit d99e2e0.

♻️ This comment has been updated with latest results.

@quiet-node quiet-node merged commit 3ffc120 into release/0.48 May 21, 2024
33 checks passed
@quiet-node quiet-node deleted the Cherry-pick-2487 branch May 21, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 process Build, test and deployment-process related tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants