do not use single process in chromium
This commit is contained in:
@ -14,7 +14,6 @@ RUN apk add --no-cache \
|
||||
make \
|
||||
python3
|
||||
|
||||
# Run everything after as non-privileged user.
|
||||
WORKDIR /app
|
||||
|
||||
ENV CHROMIUM_PATH /usr/bin/chromium-browser
|
||||
|
||||
@ -126,7 +126,6 @@ const getBrowserPromise = (async () => {
|
||||
'--no-zygote',
|
||||
'--use-gl=swiftshader',
|
||||
'--window-size=1920,1080',
|
||||
process.env.LAUNCH_HEADLESS ? '--single-process' : '--start-maximized',
|
||||
].filter((item) => !!item),
|
||||
defaultViewport: {
|
||||
deviceScaleFactor: 1,
|
||||
|
||||
@ -121,7 +121,6 @@ async function fetchSource(url, callbackFn) {
|
||||
'--no-zygote',
|
||||
'--use-gl=swiftshader',
|
||||
'--window-size=1920,1080',
|
||||
process.env.LAUNCH_HEADLESS ? '--single-process' : '--start-maximized',
|
||||
],
|
||||
defaultViewport: {
|
||||
deviceScaleFactor: 1,
|
||||
|
||||
Reference in New Issue
Block a user