Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limiting issue on Holders View #816

Open
pmjanus opened this issue Aug 5, 2024 · 2 comments · May be fixed by #850
Open

Rate limiting issue on Holders View #816

pmjanus opened this issue Aug 5, 2024 · 2 comments · May be fixed by #850
Assignees

Comments

@pmjanus
Copy link
Contributor

pmjanus commented Aug 5, 2024

Describe the bug

Rate limiting issue when making too many requests to the TelosScan API for retrieving token holders.
https://www.teloscan.io/address/0xa9991E4daA44922D00a78B6D986cDf628d46C4DD?tab=holders

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to the holders page
  2. Load a large number of token holders by paginating or requesting a large result set

Expected behavior

The application should be able to retrieve and display token holder information from the TelesScan API without encountering rate limiting errors (429 status code).

@Viterbo Viterbo self-assigned this Aug 5, 2024
@Viterbo
Copy link
Collaborator

Viterbo commented Aug 19, 2024

#830 partially addresses this issue since it creates a large cache of address names for the same purposes.

Also, this issue depends very much on https://github.com/telosnetwork/teloscan-indexer/issues/268

@Viterbo Viterbo added the 🚫 Blocked Work cannot be done until blocker is resolved label Aug 19, 2024
@Viterbo Viterbo removed the 🚫 Blocked Work cannot be done until blocker is resolved label Sep 5, 2024
@Viterbo
Copy link
Collaborator

Viterbo commented Sep 6, 2024

This issue will be solved with this PR changing the strategy to fetch the contract's metadata from the local cache and delegating the API the responsibility of populating that cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants