Files
triggerdotdev--trigger.dev/docs/snippets/rate-limit-hit-use-batchtrigger.mdx
T
2026-07-13 13:32:57 +08:00

2 lines
308 B
Plaintext

The most common cause of hitting the API rate limit is if you're 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 1,000 tasks in a single batch trigger call with SDK 4.3.1+ (500 in prior versions).