Skip to content

Scheduling infrastructure for absolutely everyone.

chore: Reduce slots API serverless memory configuration (#12270)

Keith Williams5ab0b85e5253
diff --git a/apps/api/vercel.json b/apps/api/vercel.json
new file mode 100644
index 00000000000..09d28d9434a
--- /dev/null
+++ b/apps/api/vercel.json
@@ -0,0 +1,7 @@
+{
+ "functions": {
+ "pages/api/slots/*.ts": {
+ "memory": 512
+ }
+ }
+}
diff --git a/apps/web/vercel.json b/apps/web/vercel.json
index 641f68e58ba..6f4decb2eec 100644
--- a/apps/web/vercel.json
+++ b/apps/web/vercel.json
@@ -4,5 +4,13 @@
"path": "/api/cron/calendar-cache-cleanup",
"schedule": "0 5 * * *"
}
- ]
+ ],
+ "functions": {
+ "pages/api/trpc/public/[trpc].ts": {
+ "memory": 768
+ },
+ "pages/api/trpc/slots/[trpc].ts": {
+ "memory": 768
+ }
+ }
}