SIGN IN SIGN UP
remotion-dev / remotion UNCLAIMED

🎥 Make videos programmatically with React

0 0 9 TypeScript

fix(template-render-server): ensure sequential execution in render queue

Fix the Promise chain in queueRender function to properly wait for each 
processRender task to complete before starting the next one. This prevents 
potential concurrent execution of render jobs that could lead to resource 
contention and unexpected behavior.

The fix changes the callback from:
queue.then(() => { processRender(jobId); })
to:
queue.then(() => processRender(jobId))

This ensures the Promise returned by processRender is properly integrated 
into the Promise chain.
J
Jie committed
807db7aa35a41630943d60f945c00bd3ac57115a
Parent: 4cae7a5
Committed by GitHub <noreply@github.com> on 4/28/2025, 2:43:21 AM