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

Improve parallel processing and error handling #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

whoabuddy
Copy link
Contributor

in HiroApiDO alarm method. Right now it fails after 1 fetch but should use the backoff/retry strategy built into the rate limiter. Also fires off all promises at once to let the rate limiter do its job.

@whoabuddy
Copy link
Contributor Author

The code here needs to be revised for the latest patterns, but we should fire off all the promises at once and let the rate limiter do it's job, right now the Hiro calls are still hitting 429s on the alarm method. Direct queries seem to be fine.

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 this pull request may close these issues.

1 participant