Skip to content

Commit

Permalink
Merge pull request #4093 from remotion-dev/lambda-error
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger authored Jul 19, 2024
2 parents 9a221fc + 8c722b0 commit b5ddcfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lambda/src/functions/launch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const innerLaunchHandler = async ({

if (chunks.length > MAX_FUNCTIONS_PER_RENDER) {
throw new Error(
`Too many functions: This render would cause ${chunks.length} functions to spawn. We limit this amount to ${MAX_FUNCTIONS_PER_RENDER} functions as more would result in diminishing returns. Values set: frameCount = ${frameCount}, framesPerLambda=${framesPerLambda}. See ${DOCS_URL}/docs/lambda/concurrency#too-many-functions for help.`,
`Too many functions: This render would cause ${chunks.length} functions to spawn. We limit this amount to ${MAX_FUNCTIONS_PER_RENDER} functions as more would result in diminishing returns. Values set: frameCount = ${frameCount.length}, framesPerLambda=${framesPerLambda}. See ${DOCS_URL}/docs/lambda/concurrency#too-many-functions for help.`,
);
}

Expand Down

0 comments on commit b5ddcfa

Please sign in to comment.