Skip to content

Commit 5cf7d54

Browse files
Setup Segment API func memory & max duration (#1722)
1 parent cb91c01 commit 5cf7d54

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/silly-months-clean.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"segment": patch
3+
---
4+
5+
Set Vercel function memory allocation to 1024 and max duration to 15 seconds.

apps/segment/vercel.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"functions": {
4+
"src/pages/api/webhooks/*": {
5+
"memory": 256,
6+
"maxDuration": 15
7+
}
8+
},
39
"regions": ["dub1", "iad1"]
410
}

0 commit comments

Comments
 (0)