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

Add custom rate limit for aiohtpp #1518

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add custom rate limit for aiohtpp #1518

wants to merge 1 commit into from

Conversation

moisses89
Copy link
Member

@moisses89 moisses89 commented Jan 10, 2025

Description

Add a custom client rate limit per second .
The RateLimiter class limit the connections per seconds for the provided rate.
Basically release a number of available connections given by rate each second.

@coveralls
Copy link

coveralls commented Jan 10, 2025

Pull Request Test Coverage Report for Build 12713939649

Details

  • 28 of 37 (75.68%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.07%) to 93.816%

Changes Missing Coverage Covered Lines Changed/Added Lines %
safe_eth/eth/clients/rate_limiter.py 25 34 73.53%
Totals Coverage Status
Change from base Build 12672362389: -0.07%
Covered Lines: 9466
Relevant Lines: 10090

💛 - Coveralls

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.

2 participants