--enable-multiprocess-on-linux
Browse files- App/Worker.py +1 -1
App/Worker.py
CHANGED
@@ -95,7 +95,7 @@ def download_assets(links: List[LinkInfo], temp_dir: str):
|
|
95 |
@celery.task(name="RenderFile")
|
96 |
def render_video(directory: str, output_directory: str):
|
97 |
os.chdir(directory)
|
98 |
-
os.system(f"npm run build --output {output_directory}")
|
99 |
print("complete")
|
100 |
|
101 |
|
|
|
95 |
@celery.task(name="RenderFile")
|
96 |
def render_video(directory: str, output_directory: str):
|
97 |
os.chdir(directory)
|
98 |
+
os.system(f"npm run build --enable-multiprocess-on-linux --output {output_directory}")
|
99 |
print("complete")
|
100 |
|
101 |
|