From d10e2cb34e43d29f87cfffb79c65285b087e0ca2 Mon Sep 17 00:00:00 2001 From: thenav56 Date: Thu, 4 Jul 2024 11:11:03 +0545 Subject: [PATCH] Disable --single-process for playwright Chromium Brower crashes with single process --- api/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/tasks.py b/api/tasks.py index 653c08c5f..aea96b48f 100644 --- a/api/tasks.py +++ b/api/tasks.py @@ -85,7 +85,9 @@ def generate_url(url, export_id, user, title): browser = p.chromium.launch( headless=True, args=[ - "--single-process", + # https://github.com/microsoft/playwright-python/issues/1453 + # Usually required when running AWS lambda + # "--single-process", "--no-zygote", "--no-sandbox", "--disable-setuid-sandbox",