InetIntel / InetIntel/ioda-ui

Region Page Causing Rate Limit Maxing

Open
#211 0 comments 0 reactions 1 assignee View on GitHub

@annieyxy is already working on this.

Since Aug 18, 2026.

bug
Dominant language
JavaScript
Stars
3
Forks
4
Avg merge
8h 54m
Merged PRs (30d)
1

Description

It looks like when you load the region dashboard, the page triggers a series of requests to get the corresponding country info for every region that has an active outage (presumably to draw the little flag alongside the region name in the timeline).

But the wrinkle is:
each region is a separate request
it queries for all regions that have an outage, not just the top N that appear in the time line

So if you happen to be looking at a time window with a ton of active outages, the page is going to fire off a ton of (nearly concurrent) requests that it is not going to actually use the data for. And if there are enough of them in a short space of time, then you hit the "bad user" rate limit and get blocked

Fix: should just be a matter of only issuing the requests for the regions that are going to appear in the timeline table

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.