Combination of Action Retrier & Rate Limiter
I use the loops api which is rate limited and i would love to combine these two modules so a retry because of a 429 is not counted towards the action retrier.
If anybody has example code of that or tried it before and has a solution to this. Help would be highly appreciated.
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Check out the Workpool component. It lets you set a limit on concurrently executed code, with one of the possible uses being keeping calls to rate-limited APIs within the proper bounds.