Skip to content

Commit

Permalink
fix: bump max payload size up to 25MB (#31974) (#32102)
Browse files Browse the repository at this point in the history
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
  • Loading branch information
monfera authored Feb 27, 2019
1 parent ce820a3 commit 364201e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ function runServerFunctions(server) {
method: 'POST',
path: `${API_ROUTE}/fns`,
options: {
payload: {
allow: 'application/json',
maxBytes: 26214400, // 25MB payload limit
},
validate: {
payload: Joi.object({
functions: Joi.array().items(
Expand Down

0 comments on commit 364201e

Please sign in to comment.