1.0 KiB
1.0 KiB
id, title, status, assignee, created_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | labels | dependencies | references | priority | |
|---|---|---|---|---|---|---|---|---|---|
| ML-44 | Wikipedia and BraveSearch APIs missing rate limiting | Done | 2026-04-20 08:53 |
|
medium |
Description
GitHub: created 2026-03-25 · updated 2026-03-25 · closed 2026-03-25
Description
MusicBrainz, LastFm, and Discogs API modules all attach Req.RateLimiter to their HTTP clients, but Wikipedia (lib/wikipedia/api.ex) and BraveSearch (lib/brave_search/api.ex) do not.
This is inconsistent with the pattern used by the other three APIs. While the architecture docs list these as having no rate limit, adding rate limiting would be good API citizenship and consistent with the codebase pattern.
Expected behavior
Attach Req.RateLimiter with appropriate cooldown values to both Wikipedia.API and BraveSearch.API request builders.
Found during
Codebase consistency audit (2026-03-25)