From 09d15101bf05ba82f4a338d9b1e4e1d893e0957c Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Wed, 29 Jan 2025 21:06:00 +0100 Subject: [PATCH] docs(configuration): update flag --chromium-restart-after default value --- docs/configuration.mdx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/configuration.mdx b/docs/configuration.mdx index d824011..420318d 100644 --- a/docs/configuration.mdx +++ b/docs/configuration.mdx @@ -53,25 +53,25 @@ for more details. The following flags allow you to configure the Chromium module: -| Flag | Description | Default | -|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------| -| --chromium-restart-after | Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. | 0* | -| --chromium-max-queue-size | Maximum request queue size for Chromium. Set to 0 to disable this feature. | 0 | -| --chromium-auto-start | Automatically launch Chromium upon initialization if set to true; otherwise, Chromium will start at the time of the first conversion. | false | -| --chromium-start-timeout | Maximum duration to wait for Chromium to start or restart. | 20s | -| --chromium-allow-file-access-from-files | Allow file:// URIs to read other file:// URIs. | false | -| --chromium-allow-insecure-localhost | Ignore TLS/SSL errors on localhost. | false | -| --chromium-allow-list | Set the allowed URLs for Chromium using a regular expression. | All | -| --chromium-deny-list | Set the denied URLs for Chromium using a regular expression. | `^file:(?!//\/tmp/).*` | -| --chromium-ignore-certificate-errors | Ignore the certificate errors. | false | -| --chromium-disable-web-security | Don't enforce the same-origin policy. | false | -| --chromium-incognito | Start Chromium with incognito mode. | false | -| --chromium-host-resolver-rules | Set custom mappings to the host resolver. | None | -| --chromium-proxy-server | Set the outbound proxy server; this switch only affects HTTP and HTTPS requests. | None | -| --chromium-clear-cache | Clear Chromium cache between each conversion. | false | -| --chromium-clear-cookies | Clear Chromium cookies between each conversion. | false | -| --chromium-disable-javascript | Disable JavaScript. | false | -| --chromium-disable-routes | Disable the routes. | false | +| Flag | Description | Default | +|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------| +| --chromium-restart-after | Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. | 10* | +| --chromium-max-queue-size | Maximum request queue size for Chromium. Set to 0 to disable this feature. | 0 | +| --chromium-auto-start | Automatically launch Chromium upon initialization if set to true; otherwise, Chromium will start at the time of the first conversion. | false | +| --chromium-start-timeout | Maximum duration to wait for Chromium to start or restart. | 20s | +| --chromium-allow-file-access-from-files | Allow file:// URIs to read other file:// URIs. | false | +| --chromium-allow-insecure-localhost | Ignore TLS/SSL errors on localhost. | false | +| --chromium-allow-list | Set the allowed URLs for Chromium using a regular expression. | All | +| --chromium-deny-list | Set the denied URLs for Chromium using a regular expression. | `^file:(?!//\/tmp/).*` | +| --chromium-ignore-certificate-errors | Ignore the certificate errors. | false | +| --chromium-disable-web-security | Don't enforce the same-origin policy. | false | +| --chromium-incognito | Start Chromium with incognito mode. | false | +| --chromium-host-resolver-rules | Set custom mappings to the host resolver. | None | +| --chromium-proxy-server | Set the outbound proxy server; this switch only affects HTTP and HTTPS requests. | None | +| --chromium-clear-cache | Clear Chromium cache between each conversion. | false | +| --chromium-clear-cookies | Clear Chromium cookies between each conversion. | false | +| --chromium-disable-javascript | Disable JavaScript. | false | +| --chromium-disable-routes | Disable the routes. | false | \*Prior to Gotenberg *8.15.2*, restarting Chromium resulted in zombie processes.