Skip to content

Commit a0f7925

Browse files
authored
Merge pull request #1845 from mfts/feat/increase-time
feat: increase maxduration
2 parents 72991ed + af1ba78 commit a0f7925

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pages/api/file/tus-viewer/[[...file]].ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { lockerRedisClient } from "@/lib/redis";
1515
import { log } from "@/lib/utils";
1616

1717
export const config = {
18+
maxDuration: 60,
1819
api: {
1920
bodyParser: false,
2021
},

pages/api/file/tus/[[...file]].ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { log } from "@/lib/utils";
1616
import { authOptions } from "../../auth/[...nextauth]";
1717

1818
export const config = {
19+
maxDuration: 60,
1920
api: {
2021
bodyParser: false,
2122
},

0 commit comments

Comments
 (0)