refactor(print): chrimoum is now a single process on each instance with no child processes
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c4c1aa929a
commit
1ba2a924e6
|
@ -58,7 +58,12 @@ module.exports = async app => {
|
|||
async function launchBrowser() {
|
||||
config.browser = await puppeteer.launch({
|
||||
headless: true,
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox']
|
||||
args: [
|
||||
'--no-sandbox',
|
||||
'--disable-setuid-sandbox',
|
||||
'--single-process',
|
||||
'--no-zygote'
|
||||
]
|
||||
});
|
||||
|
||||
config.browser.on('disconnected', launchBrowser);
|
||||
|
|
Loading…
Reference in New Issue