• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lmittmann / w3 / 8493355636 / 1
64%
main: 64%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2024 09:01PM UTC
Files 43
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Mar 2024 09:01PM UTC coverage: 74.753% (-0.03%) from 74.781%
8493355636.1

push

github

web-flow
Changed `WithRateLimiter` `costFunc`-arg to include the methods of all calls (#122)

* When rate limiting, include cost of batch request itself too.

This allows the cost func to provide a cost for the batch itself in
batch requests. Some providers (Infura) include this as part of their
rate limiting.

Ref: https://docs.infura.io/api/networks/ethereum/how-to/make-batch-requests

* In WithRateLimiter, change costFunc signature to receive all batch methods at once.

* simplified costFunc-example and fixed comment

* small cleanup

---------

Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>

1966 of 2630 relevant lines covered (74.75%)

1347.53 hits per line

Source Files on job 8493355636.1
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8493355636
  • e60a0e84 on github
  • Prev Job for on main (#8493296509.1)
  • Next Job for on main (#8498343304.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc