Skip to content

Commit 1a1292a

Browse files
committed
remove from vercel.json
1 parent 10127fe commit 1a1292a

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/util/backend/npm-stats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function calculatePackageSize(name: string, version: string, tmpDir
3737
controller.abort();
3838
await execFileAsync('rm', ['-rf', tmpPackage], { cwd: tmpDir });
3939
},
40-
25 * 1000, // timeout after 25 seconds since vercel.json is 30 seconds
40+
26 * 1000, // timeout after 26 seconds since max duration is 30 seconds
4141
);
4242

4343
const pkgDir = join(tmpDir, tmpPackage);

vercel.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"functions": {
3-
"api/**": {
4-
"maxDuration": 30
5-
}
6-
},
72
"headers": [{
83
"source": "/(.*)",
94
"headers": [

0 commit comments

Comments
 (0)