mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-21 16:16:28 -04:00
Disable chromium sandbox to improve performance
Use `--disable-sandbox` to disable chromium sandboxed processes (restrictive environment for improved security). We don't need this in the Brozzler use case and the performance is improved without it. Info on chromium sandbox: https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md The idea came up to me after seeing: https://github.com/kennethreitz/requests-html/blob/master/requests_html.py#L467
This commit is contained in:
parent
f9834ca77d
commit
def07c1c00
@ -155,6 +155,7 @@ class Chrome:
|
||||
'--remote-debugging-port=%s' % self.port,
|
||||
'--use-mock-keychain', # mac thing
|
||||
'--user-data-dir=%s' % self._chrome_user_data_dir,
|
||||
'--no-sandbox',
|
||||
'--disable-background-networking',
|
||||
'--disable-renderer-backgrounding', '--disable-hang-monitor',
|
||||
'--disable-background-timer-throttling', '--mute-audio',
|
||||
|
Loading…
x
Reference in New Issue
Block a user