Skip to content

Commit 14d13d5

Browse files
Merge pull request #2196 from IFRCGo/hotfix/playwright-chromium-issue
Disable --single-process for playwright
2 parents cd67582 + d10e2cb commit 14d13d5

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)