Skip to content

Commit 41a6307

Browse files
committed
Update task payload and output limits
1 parent eed04ab commit 41a6307

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/v3/limits.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ If you're creating schedules for your user you will definitely need to request m
4040

4141
## Task payloads and outputs
4242

43-
| Limit | Details |
44-
| ---------------------- | --------------------------------------------- |
45-
| Single trigger payload | Must not exceed 3MB |
46-
| Batch trigger payload | The total of all payloads must not exceed 3MB |
47-
| Task outputs | Must not exceed 10MB |
43+
| Limit | Details |
44+
| ---------------------- | ---------------------------------------------- |
45+
| Single trigger payload | Must not exceed 10MB |
46+
| Batch trigger payload | The total of all payloads must not exceed 10MB |
47+
| Task outputs | Must not exceed 10MB |
4848

4949
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.

docs/v3/triggering.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ export async function create() {
539539

540540
## Large Payloads
541541

542-
We recommend keeping your task payloads as small as possible. We currently have a hard limit on task payloads above 3MB.
542+
We recommend keeping your task payloads as small as possible. We currently have a hard limit on task payloads above 10MB.
543543

544544
If your payload size is larger than 512KB, instead of saving the payload to the database, we will upload it to an S3-compatible object store and store the URL in the database.
545545

@@ -560,7 +560,7 @@ if (run.payloadPresignedUrl) {
560560

561561
<Note>
562562
We also use this same system for dealing with large task outputs, and subsequently will return a
563-
corresponding `outputPresignedUrl`. Task outputs are limited to 10MB.
563+
corresponding `outputPresignedUrl`. Task outputs are limited to 100MB.
564564
</Note>
565565

566566
If you need to pass larger payloads, you'll need to upload the payload to your own storage and pass a URL to the file in the payload instead. For example, uploading to S3 and then sending a presigned URL that expires in URL:
@@ -618,4 +618,4 @@ export const myTask = task({
618618

619619
### Batch Triggering
620620

621-
When using `batchTrigger` or `batchTriggerAndWait`, the total size of all payloads cannot exceed 3MB. This means if you are doing a batch of 100 runs, each payload should be less than 30KB.
621+
When using `batchTrigger` or `batchTriggerAndWait`, the total size of all payloads cannot exceed 10MB. This means if you are doing a batch of 100 runs, each payload should be less than 100KB.

0 commit comments

Comments
 (0)