Skip to content

Commit d617b3a

Browse files
committed
docs: adds comment to maxPartSize
1 parent e5e11b1 commit d617b3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/routes/upload.advanced.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function loader() {
5656
export async function action({ request }: ActionFunctionArgs) {
5757
const start = Date.now();
5858

59-
const maxPartSize = 100_000_000;
59+
const maxPartSize = 100_000_000; // 100 MB
6060

6161
const url = new URL(request.url);
6262
const uploadId = url.searchParams.get("uploadId");

app/routes/upload.basic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function action({ request }: ActionFunctionArgs) {
5050
const url = new URL(request.url);
5151
const uploadId = url.searchParams.get("uploadId");
5252

53-
const maxPartSize = 100_000_000;
53+
const maxPartSize = 100_000_000; // 100 MB
5454

5555
if (!uploadId) {
5656
throw new Response(null, {

0 commit comments

Comments
 (0)