Skip to content

Commit

Permalink
add note about chunkSize (#201)
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
mifi and aduh95 authored Apr 16, 2024
1 parent 90c4aea commit 43c9a92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/uploader/tus.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ const headers = (file) => {
#### `chunkSize`

A number indicating the maximum size of a `PATCH` request body in bytes
(`number`, default: `Infinity`).
(`number`, default: `Infinity`). Note that this option only affects local
browser uploads. If you need a max chunk size for remote (Companion) uploads,
you must set the `chunkSize` Companion option as well.

:::caution

Expand Down

0 comments on commit 43c9a92

Please sign in to comment.