Skip to content

Commit d10e2cb

Browse files
committed
Disable --single-process for playwright
Chromium Brower crashes with single process
1 parent cd67582 commit d10e2cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/tasks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ def generate_url(url, export_id, user, title):
8585
browser = p.chromium.launch(
8686
headless=True,
8787
args=[
88-
"--single-process",
88+
# https://github.com/microsoft/playwright-python/issues/1453
89+
# Usually required when running AWS lambda
90+
# "--single-process",
8991
"--no-zygote",
9092
"--no-sandbox",
9193
"--disable-setuid-sandbox",

0 commit comments

Comments
 (0)