Skip to content

Commit

Permalink
Add memory size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
gahoccode committed Jan 16, 2025
1 parent 656e378 commit 8c5cd33
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data/
charts/
output/
13 changes: 12 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"build": {
"env": {
"PYTHON_VERSION": "3.10"
"PYTHON_VERSION": "3.9"
}
},
"builds": [
Expand All @@ -15,5 +15,16 @@
"src": "/(.*)",
"dest": "dashboard.py"
}
],
"functions": {
"dashboard.py": {
"memory": 1024,
"maxDuration": 30
}
},
"exclude": [
"data/*",
"charts/*",
"output/*"
]
}

0 comments on commit 8c5cd33

Please sign in to comment.