Skip to content

Commit ba96397

Browse files
committed
Updated the limits page
1 parent 244988e commit ba96397

File tree

2 files changed

+56
-30
lines changed

2 files changed

+56
-30
lines changed

docs/limits.mdx

Lines changed: 55 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,94 @@
11
---
22
title: "Limits"
3-
description: "There are some hard and soft limits in v3 that you might hit."
3+
description: "There are some hard and soft limits that you might hit."
44
---
55

6-
import SoftLimit from '/snippets/soft-limit.mdx';
76
import RateLimitHitUseBatchTrigger from '/snippets/rate-limit-hit-use-batchtrigger.mdx';
87

98
## Concurrency limits
109

11-
These are the default limits on a free account.
10+
| Pricing tier | Limit |
11+
|:---------------- |:-------------------- |
12+
| Free | 5 concurrent runs |
13+
| Hobby | 25 concurrent runs |
14+
| Pro | 100+ concurrent runs |
1215

13-
| Limit | Details |
14-
| ------------ | ------------------ |
15-
| Organization | 10 concurrent runs |
16-
| Environment | 5 concurrent runs |
17-
18-
<SoftLimit />
16+
If you need more than 100 concurrent runs on the Pro tier, you can request more by contacting us via [email](https://trigger.dev/contact) or [Discord](https://trigger.dev/discord).
1917

2018
## Rate limits
2119

20+
Generally speaking each SDK call is an API call.
21+
2222
| Limit | Details |
23-
| ----- | ------------------------- |
23+
|:----- |:------------------------- |
2424
| API | 1,500 requests per minute |
2525

26-
Generally speaking each SDK call is an API call.
27-
2826
<RateLimitHitUseBatchTrigger/>
2927

3028
## Queued tasks
3129

32-
The number of queued tasks by environment
30+
The number of queued tasks by environment.
3331

34-
| Limit | Details |
35-
| ----- | ------------------------- |
36-
| Dev | At most 500 |
37-
| Staging | at most 10 million |
38-
| Prod | at most 10 million |
32+
| Limit | Details |
33+
|:------- |:------------------ |
34+
| Dev | At most 500 |
35+
| Staging | At most 10 million |
36+
| Prod | At most 10 million |
37+
38+
## Log retention
39+
40+
| Pricing tier | Limit |
41+
|:---------------- |:--------- |
42+
| Free | 1 day |
43+
| Hobby | 7 days |
44+
| Pro | 30 days |
3945

4046
## Schedules
4147

42-
| Limit | Details |
43-
| --------- | ------------- |
44-
| Schedules | 5 per project |
48+
| Pricing tier | Limit |
49+
|:---------------- |:-------------------- |
50+
| Free | 5 per project |
51+
| Hobby | 100 per project |
52+
| Pro | 1,000+ per project |
4553

46-
When attaching schedules to tasks we strongly recommend you add them in our dashboard if they're "static". That way you can control them easily per environment.
54+
When attaching schedules to tasks we strongly recommend you add them [in our dashboard](/tasks/scheduled#attaching-schedules-in-the-dashboard) if they're "static". That way you can control them easily per environment.
4755

48-
If you add them dynamically using code make sure you add a `deduplicationKey` so you don't add the same schedule to a task multiple times. If you don't your task will get triggered multiple times, it will cost you more, and you will hit the limit.
56+
If you add them [dynamically using code](/management/schedules/create) make sure you add a `deduplicationKey` so you don't add the same schedule to a task multiple times. If you don't your task will get triggered multiple times, it will cost you more, and you will hit the limit.
4957

5058
If you're creating schedules for your user you will definitely need to request more schedules from us.
5159

5260
<SoftLimit />
5361

5462
## Task payloads and outputs
5563

56-
| Limit | Details |
57-
| ---------------------- | ---------------------------------------------- |
58-
| Single trigger payload | Must not exceed 10MB |
59-
| Batch trigger payload | The total of all payloads must not exceed 10MB |
60-
| Task outputs | Must not exceed 10MB |
64+
| Limit | Details |
65+
|:--- |:--- |
66+
| Single trigger payload | Must not exceed 10MB |
67+
| Batch trigger payload | The total of all payloads must not exceed 10MB |
68+
| Task outputs | Must not exceed 10MB |
6169

6270
Payloads and outputs that exceed 512KB will be offloaded to object storage and a presigned URL will be provided to download the data when calling `runs.retrieve`. You don't need to do anything to handle this in your tasks however, as we will transparently upload/download these during operation.
6371

64-
### Machines
72+
## Alerts
73+
74+
An alert destination is a single email address, Slack channel, or webhook URL that you want to send alerts to. If you're on the Pro and need more than 100 alert destinations, you can request more by contacting us via [email](https://trigger.dev/contact) or [Discord](https://trigger.dev/discord).
75+
76+
| Pricing tier | Limit |
77+
|:---------------- |:----------------------- |
78+
| Free | 1 alert destination |
79+
| Hobby | 3 alert destinations |
80+
| Pro | 100+ alert destinations |
81+
82+
## Machines
6583

6684
The default machine is `small-1x` which has 0.5 vCPU and 0.5 GB of RAM. You can optionally configure a higher spec machine which will increase the cost of running the task but can also improve the performance of the task if it is CPU or memory bound.
6785

6886
See the [machine configurations](/machines#machine-configurations) for more details.
87+
88+
## Team members
89+
90+
| Pricing tier | Limit |
91+
|:---------------- |:----------------- |
92+
| Free | 5 team members |
93+
| Hobby | 5 team members |
94+
| Pro | 25+ team members |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
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.
1+
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)