Skip to content

Commit

Permalink
chore: reduce vercel memory & timeout duration (anuraghazra#1366)
Browse files Browse the repository at this point in the history
* fix: change serverless function memory to 128mb

* chore: change maxDuration
  • Loading branch information
anuraghazra authored and Kab1r committed Apr 4, 2022
1 parent f919151 commit 87cc851
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"functions": {
"api/*.js": {
"memory": 128,
"maxDuration": 30
}
},
"redirects": [
{
"source": "/",
Expand Down

0 comments on commit 87cc851

Please sign in to comment.