Skip to content

Commit

Permalink
Merge pull request #2196 from IFRCGo/hotfix/playwright-chromium-issue
Browse files Browse the repository at this point in the history
Disable --single-process for playwright
  • Loading branch information
szabozoltan69 authored Jul 4, 2024
2 parents cd67582 + d10e2cb commit 14d13d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 14d13d5

Please sign in to comment.