|
1 | 1 | ---
|
2 | 2 | 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." |
4 | 4 | ---
|
5 | 5 |
|
6 |
| -import SoftLimit from '/snippets/soft-limit.mdx'; |
7 | 6 | import RateLimitHitUseBatchTrigger from '/snippets/rate-limit-hit-use-batchtrigger.mdx';
|
8 | 7 |
|
9 | 8 | ## Concurrency limits
|
10 | 9 |
|
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 | |
12 | 15 |
|
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). |
19 | 17 |
|
20 | 18 | ## Rate limits
|
21 | 19 |
|
| 20 | +Generally speaking each SDK call is an API call. |
| 21 | + |
22 | 22 | | Limit | Details |
|
23 |
| -| ----- | ------------------------- | |
| 23 | +|:----- |:------------------------- | |
24 | 24 | | API | 1,500 requests per minute |
|
25 | 25 |
|
26 |
| -Generally speaking each SDK call is an API call. |
27 |
| - |
28 | 26 | <RateLimitHitUseBatchTrigger/>
|
29 | 27 |
|
30 | 28 | ## Queued tasks
|
31 | 29 |
|
32 |
| -The number of queued tasks by environment |
| 30 | +The number of queued tasks by environment. |
33 | 31 |
|
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 | |
39 | 45 |
|
40 | 46 | ## Schedules
|
41 | 47 |
|
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 | |
45 | 53 |
|
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. |
47 | 55 |
|
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. |
49 | 57 |
|
50 | 58 | If you're creating schedules for your user you will definitely need to request more schedules from us.
|
51 | 59 |
|
52 | 60 | <SoftLimit />
|
53 | 61 |
|
54 | 62 | ## Task payloads and outputs
|
55 | 63 |
|
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 | |
61 | 69 |
|
62 | 70 | 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.
|
63 | 71 |
|
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 |
65 | 83 |
|
66 | 84 | 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.
|
67 | 85 |
|
68 | 86 | 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 | |
0 commit comments