Skip to content

Commit 52112c3

Browse files
committed
Docs: added v3 limits page
1 parent eae294a commit 52112c3

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

docs/mint.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@
101101
{
102102
"group": "Getting Started",
103103
"version": "v3 (Developer Preview)",
104-
"pages": ["v3/quick-start", "v3/upgrading-from-v2", "v3/changelog", "v3/feature-matrix"]
104+
"pages": [
105+
"v3/quick-start",
106+
"v3/upgrading-from-v2",
107+
"v3/changelog",
108+
"v3/feature-matrix",
109+
"v3/limits"
110+
]
105111
},
106112
{
107113
"group": "Fundamentals",
@@ -200,9 +206,7 @@
200206
},
201207
{
202208
"group": "Projects API",
203-
"pages": [
204-
"v3/management/projects/runs"
205-
]
209+
"pages": ["v3/management/projects/runs"]
206210
}
207211
]
208212
},

docs/v3/limits.mdx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "Limits"
3+
description: "There are some hard and soft limits in v3 that you might hit."
4+
---
5+
6+
## Concurrency limits
7+
8+
These are the default limits on a free account.
9+
10+
Before we introduce paid plans in July you can request more [on Discord](https://trigger.dev/discord) or by [contacting us](https://trigger.dev/contact). If you increase these defaults you may have to subscribe to a paid plan when we introduce them. For more details on the v3 Cloud pricing see the [pricing page](https://trigger.dev/blog/v3-developer-preview-launch#cloud-pricing).
11+
12+
| Limit | Details |
13+
| ------------ | ------------------ |
14+
| Organization | 10 concurrent runs |
15+
| Environment | 5 concurrent runs |
16+
17+
## Rate limits
18+
19+
| Limit | Details |
20+
| ----- | ------------------------- |
21+
| API | 1,500 requests per minute |
22+
23+
Generally speaking each SDK call is an API call.
24+
25+
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 100 tasks in a single batch trigger call.

0 commit comments

Comments
 (0)