Skip to content

Commit

Permalink
docs(configuration): update flag --chromium-restart-after default value
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien committed Jan 29, 2025
1 parent b70bd09 commit 09d1510
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docs/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ for more details.

The following flags allow you to configure the Chromium module:

| Flag | Description | Default |
|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|
| <span class="badge badge--secondary">--chromium-restart-after</span> | Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. | 0<span style={{color: 'red'}}>*</span> |
| <span class="badge badge--secondary">--chromium-max-queue-size</span> | Maximum request queue size for Chromium. Set to 0 to disable this feature. | 0 |
| <span class="badge badge--secondary">--chromium-auto-start</span> | Automatically launch Chromium upon initialization if set to true; otherwise, Chromium will start at the time of the first conversion. | false |
| <span class="badge badge--secondary">--chromium-start-timeout</span> | Maximum duration to wait for Chromium to start or restart. | 20s |
| <span class="badge badge--secondary">--chromium-allow-file-access-from-files</span> | Allow file:// URIs to read other file:// URIs. | false |
| <span class="badge badge--secondary">--chromium-allow-insecure-localhost</span> | Ignore TLS/SSL errors on localhost. | false |
| <span class="badge badge--secondary">--chromium-allow-list</span> | Set the allowed URLs for Chromium using a regular expression. | All |
| <span class="badge badge--secondary">--chromium-deny-list</span> | Set the denied URLs for Chromium using a regular expression. | `^file:(?!//\/tmp/).*` |
| <span class="badge badge--secondary">--chromium-ignore-certificate-errors</span> | Ignore the certificate errors. | false |
| <span class="badge badge--secondary">--chromium-disable-web-security</span> | Don't enforce the same-origin policy. | false |
| <span class="badge badge--secondary">--chromium-incognito</span> | Start Chromium with incognito mode. | false |
| <span class="badge badge--secondary">--chromium-host-resolver-rules</span> | Set custom mappings to the host resolver. | None |
| <span class="badge badge--secondary">--chromium-proxy-server</span> | Set the outbound proxy server; this switch only affects HTTP and HTTPS requests. | None |
| <span class="badge badge--secondary">--chromium-clear-cache</span> | Clear Chromium cache between each conversion. | false |
| <span class="badge badge--secondary">--chromium-clear-cookies</span> | Clear Chromium cookies between each conversion. | false |
| <span class="badge badge--secondary">--chromium-disable-javascript</span> | Disable JavaScript. | false |
| <span class="badge badge--secondary">--chromium-disable-routes</span> | Disable the routes. | false |
| Flag | Description | Default |
|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|
| <span class="badge badge--secondary">--chromium-restart-after</span> | Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. | 10<span style={{color: 'red'}}>*</span> |
| <span class="badge badge--secondary">--chromium-max-queue-size</span> | Maximum request queue size for Chromium. Set to 0 to disable this feature. | 0 |
| <span class="badge badge--secondary">--chromium-auto-start</span> | Automatically launch Chromium upon initialization if set to true; otherwise, Chromium will start at the time of the first conversion. | false |
| <span class="badge badge--secondary">--chromium-start-timeout</span> | Maximum duration to wait for Chromium to start or restart. | 20s |
| <span class="badge badge--secondary">--chromium-allow-file-access-from-files</span> | Allow file:// URIs to read other file:// URIs. | false |
| <span class="badge badge--secondary">--chromium-allow-insecure-localhost</span> | Ignore TLS/SSL errors on localhost. | false |
| <span class="badge badge--secondary">--chromium-allow-list</span> | Set the allowed URLs for Chromium using a regular expression. | All |
| <span class="badge badge--secondary">--chromium-deny-list</span> | Set the denied URLs for Chromium using a regular expression. | `^file:(?!//\/tmp/).*` |
| <span class="badge badge--secondary">--chromium-ignore-certificate-errors</span> | Ignore the certificate errors. | false |
| <span class="badge badge--secondary">--chromium-disable-web-security</span> | Don't enforce the same-origin policy. | false |
| <span class="badge badge--secondary">--chromium-incognito</span> | Start Chromium with incognito mode. | false |
| <span class="badge badge--secondary">--chromium-host-resolver-rules</span> | Set custom mappings to the host resolver. | None |
| <span class="badge badge--secondary">--chromium-proxy-server</span> | Set the outbound proxy server; this switch only affects HTTP and HTTPS requests. | None |
| <span class="badge badge--secondary">--chromium-clear-cache</span> | Clear Chromium cache between each conversion. | false |
| <span class="badge badge--secondary">--chromium-clear-cookies</span> | Clear Chromium cookies between each conversion. | false |
| <span class="badge badge--secondary">--chromium-disable-javascript</span> | Disable JavaScript. | false |
| <span class="badge badge--secondary">--chromium-disable-routes</span> | Disable the routes. | false |

<span style={{color: 'red'}}>\*</span>Prior to Gotenberg *8.15.2*, restarting Chromium resulted in zombie processes.

Expand Down

0 comments on commit 09d1510

Please sign in to comment.