Logo
Explore Help
Sign In
i/next-ai-draw-io
1
0
Fork 0
You've already forked next-ai-draw-io
mirror of https://github.com/DayuanJiang/next-ai-draw-io.git synced 2026-01-02 22:32:27 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
8c736cee0d7a1a1d033f6415c04f94cd5e0cf83b
next-ai-draw-io/vercel.json

13 lines
233 B
JSON
Raw Normal View History

chore: optimize Vercel costs by removing analytics and configuring functions (#238) - Create vercel.json with optimized function settings: - Chat API: 512MB memory, 120s timeout - Other APIs: 256MB memory, 10s timeout - Remove @vercel/analytics package and imports - Reduce chat route maxDuration from 300s to 120s Expected savings: $2-4/month, keeping costs under $20 included credit
2025-12-12 16:13:06 +09:00
{
"functions": {
"app/api/chat/route.ts": {
"memory": 512,
"maxDuration": 120
},
"app/api/**/route.ts": {
"memory": 256,
"maxDuration": 10
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 24.6.0 Page: 203ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API