Skip to content

Commit

Permalink
set maxDuration to 4 seconds for serverless function timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
netptop committed Mar 16, 2020
1 parent cdd310a commit 5906215
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"functions": {
"api/main.js": {
"memory": 384,
"maxDuration": 4,
"includeFiles": "*(*.css|*.png)"
}
},
Expand Down

0 comments on commit 5906215

Please sign in to comment.