mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
remove --single-process from chrome args and add some rendering optimization args
This commit is contained in:
parent
9599845b56
commit
1f1c70a8b1
1 changed files with 14 additions and 10 deletions
|
@ -236,14 +236,18 @@ def chrome_args(**options) -> List[str]:
|
||||||
# in docker, GPU support is limited, sandboxing is unecessary,
|
# in docker, GPU support is limited, sandboxing is unecessary,
|
||||||
# and SHM is limited to 64MB by default (which is too low to be usable).
|
# and SHM is limited to 64MB by default (which is too low to be usable).
|
||||||
cmd_args += (
|
cmd_args += (
|
||||||
'--no-sandbox',
|
"--no-sandbox",
|
||||||
'--disable-gpu',
|
"--no-zygote",
|
||||||
'--disable-dev-shm-usage',
|
"--disable-dev-shm-usage",
|
||||||
'--disable-software-rasterizer',
|
"--disable-software-rasterizer",
|
||||||
'--run-all-compositor-stages-before-draw',
|
"--run-all-compositor-stages-before-draw",
|
||||||
'--hide-scrollbars',
|
"--hide-scrollbars",
|
||||||
'--single-process',
|
"--window-size=1440,2000",
|
||||||
'--no-zygote',
|
"--autoplay-policy=no-user-gesture-required",
|
||||||
|
"--no-first-run",
|
||||||
|
"--use-fake-ui-for-media-stream",
|
||||||
|
"--use-fake-device-for-media-stream",
|
||||||
|
"--disable-sync",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue