Skip to content

Commit

Permalink
add function name
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger committed Jul 31, 2024
1 parent 76a36e9 commit 02cd8f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/lambda/src/functions/launch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ const innerLaunchHandler = async <Provider extends CloudProvider>({
downloadBehavior: params.downloadBehavior,
audioBitrate: params.audioBitrate,
muted: params.muted,
functionName: process.env.AWS_LAMBDA_FUNCTION_NAME as string,
};

const {key, renderBucketName, customCredentials} = getExpectedOutName(
Expand Down
1 change: 1 addition & 0 deletions packages/lambda/src/functions/still.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ const innerStillHandler = async <Provider extends CloudProvider>({
numberOfGifLoops: null,
downloadBehavior: lambdaParams.downloadBehavior,
audioBitrate: null,
functionName: process.env.AWS_LAMBDA_FUNCTION_NAME as string,
};

const still = makeInitialOverallRenderProgress(timeoutInMilliseconds);
Expand Down
1 change: 1 addition & 0 deletions packages/lambda/src/test/unit/price-calculation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test('Should not throw while calculating prices when time shifts occur', () => {
downloadBehavior: {type: 'play-in-browser'},
numberOfGifLoops: null,
muted: false,
functionName: 'remotion-render-la8ffw',
},
diskSizeInMb: 512,
lambdasInvoked: 1,
Expand Down

0 comments on commit 02cd8f4

Please sign in to comment.