mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
TUS changeset (#22901)
* changeset * updated changeset * updated docs * more prettier * dictionary
This commit is contained in:
12
.changeset/strong-pants-punch.md
Normal file
12
.changeset/strong-pants-punch.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
"@directus/api": minor
|
||||
"@directus/app": minor
|
||||
"@directus/env": minor
|
||||
"@directus/storage": minor
|
||||
"@directus/storage-driver-local": minor
|
||||
"@directus/storage-driver-s3": minor
|
||||
"@directus/system-data": minor
|
||||
"@directus/types": minor
|
||||
---
|
||||
|
||||
Implemented support for chunked uploads using the TUS protocol
|
||||
@@ -420,6 +420,7 @@ TrustRadius
|
||||
truthy
|
||||
TTL
|
||||
TTY
|
||||
TUS
|
||||
TypeDoc
|
||||
UI
|
||||
UID
|
||||
|
||||
@@ -687,14 +687,14 @@ purposes, collection of additional metadata must be configured:
|
||||
| `FILES_MAX_UPLOAD_SIZE` | Maximum file upload size allowed. For example `10mb`, `1gb`, `10kb` | -- |
|
||||
| `FILES_MIME_TYPE_ALLOW_LIST` | Allow list of mime types that are allowed to be uploaded. Supports `glob` syntax | `*/*` |
|
||||
|
||||
### Resumable Uploads
|
||||
### Chunked Uploads
|
||||
|
||||
Large files can be uploaded in chunks to improve reliability and efficiency, especially in scenarios with network
|
||||
instability or limited bandwidth.
|
||||
instability or limited bandwidth. This is implemented using the [TUS protocol](https://tus.io/).
|
||||
|
||||
| Variable | Description | Default Value |
|
||||
| ----------------------- | ----------------------------------------------------------------- | ------------- |
|
||||
| `TUS_ENABLED` | Whether or not to enable the resumable uploads | `false` |
|
||||
| `TUS_ENABLED` | Whether or not to enable the chunked uploads | `false` |
|
||||
| `TUS_CHUNK_SIZE` | The size of each file chunks. For example `10mb`, `1gb`, `10kb` | `10mb` |
|
||||
| `TUS_UPLOAD_EXPIRATION` | The expiry duration for uncompleted files with no upload activity | `10m` |
|
||||
| `TUS_CLEANUP_SCHEDULE` | Cron schedule to clean up the expired uncompleted uploads | `0 * * * *` |
|
||||
|
||||
Reference in New Issue
Block a user