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

supabase / auth / 12917958811 / 1
66%
master: 69%

Build:
Build:
LAST BUILD BRANCH: bewinxed/add-scim-v2
DEFAULT BRANCH: master
Ran 22 Jan 2025 10:14PM UTC
Files 129
Run time 8s
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

22 Jan 2025 09:42PM UTC coverage: 65.567% (+0.1%) from 65.445%
12917958811.1

Pull #1924

github

Chris Stockton
feat: add an optional burstable rate limiter

The existing rate limiter was moved to a separate package and
renamed to IntervalLimiter. Added BurstLimiter which is a wrapper
around the "golang.org/x/time/rate" package.

The conf.Rate type now has a private `typ` field that indicates
if it is a "interval" or "burst" rate limiter. If the config value
is in the form of "<burst>/<rate>" we set it to "burst", otherwise
"interval". The conf.Rate.GetRateType() method is then called from
the ratelimit.New package to determine the underlying type of
`ratelimit.Limiter` returned from `ratelimit.New`.

Finally we changed `api.NewLimiterOptions` to call `ratelimit.New`
instead of creating a specific type of rate limiter.
Pull Request #1924: feat: add an optional burstable rate limiter

9858 of 15035 relevant lines covered (65.57%)

64.25 hits per line

Source Files on job 12917958811.1
  • Tree
  • List 129
  • Changed 3
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12917958811
  • 3746f708 on github
  • Prev Job for on cs/rate-limit-refactor (#12917117821.1)
  • Delete
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