clearlydefined / clearlydefined/service

API is returning 429s when the rate-limit has not been reached

Open
#935 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
51
Forks
46
PR merge metrics
No merged PRs in 30d

Description

There's 2 rate limiters, one of all APIs, then another for Batch APIs.
- The "all API" rate limiter has a limit of 1000 requests per minute per IP address.
- The "batch API" rate limiter has a limit of 250 requests per minute per IP address.

Sometimes we'll get 429 requests before we hit the limit of 1000 requests per minute, even as low as 200 requests/minute across multiple APIs, need to investigate why.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.