Skip to content

Commit

Permalink
Merge pull request remotion-dev#3998 from remotion-dev/disable-slow-l…
Browse files Browse the repository at this point in the history
…eak-detection-timeout

`@remotion/lambda`: Disable slow leak detection
  • Loading branch information
JonnyBurger authored Jun 14, 2024
2 parents 52cac41 + 991001a commit 1a193d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/lambda/src/functions/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ export const rendererHandler = async (
} finally {
forgetBrowserEventLoop(params.logLevel);

startLeakDetection(leakDetection, requestContext.awsRequestId);
if (ENABLE_SLOW_LEAK_DETECTION) {
startLeakDetection(leakDetection, requestContext.awsRequestId);
}
}
};

0 comments on commit 1a193d6

Please sign in to comment.