Skip to content

Commit

Permalink
Turn off webgl on puppeteer loading, see #174
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Apr 28, 2023
1 parent 9d01c74 commit d81d13d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion js/server/QuickServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ class QuickServer {
'--enable-precise-memory-info',

// To prevent filling up `/tmp`, see https://github.com/phetsims/aqua/issues/145
`--user-data-dir=${process.cwd()}/../tmp/puppeteerUserData/`
`--user-data-dir=${process.cwd()}/../tmp/puppeteerUserData/`,

// Fork child processes directly to prevent orphaned chrome instances from lingering on bayes, https://github.com/phetsims/aqua/issues/150#issuecomment-1170140994
'--no-zygote',
'--no-sandbox'
]
} );

Expand Down
3 changes: 2 additions & 1 deletion js/server/puppeteerCTClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ process.on( 'SIGINT', () => process.exit() );
`--user-data-dir=${process.cwd()}/../tmp/puppeteerUserData/`,

// Fork child processes directly to prevent orphaned chrome instances from lingering on bayes, https://github.com/phetsims/aqua/issues/150#issuecomment-1170140994
'--no-zygote', '--no-sandbox'
'--no-zygote',
'--no-sandbox'
]
}
} );
Expand Down

0 comments on commit d81d13d

Please sign in to comment.