Files
triggerdotdev--trigger.dev/docs/snippets/rate-limit-hit-use-batchtrigger.mdx
T
2024-10-10 15:21:53 +01:00

2 lines
268 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
The most common cause of hitting the API rate limit is if youre calling `trigger()` on a task in a loop, instead of doing this use `batchTrigger()` which will trigger multiple tasks in a single API call. You can have up to 100 tasks in a single batch trigger call.