From 583857f279d33b35f9ab772c22df1820c49f439c Mon Sep 17 00:00:00 2001 From: Tom Brouws Date: Fri, 13 Feb 2026 13:41:45 +0100 Subject: [PATCH] docs: add chromium-max-concurrency and update changed default for chromium-restart-after --- docs/configuration.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/configuration.mdx b/docs/configuration.mdx index 8e22744..e9fecb9 100644 --- a/docs/configuration.mdx +++ b/docs/configuration.mdx @@ -89,7 +89,7 @@ The following flags allow you to configure the API module: The Chromium module interacts with the Chromium browser to convert HTML documents to PDF. A single Chromium browser manages the conversions in a stateful mode, enabling quicker single conversions. -However, due to a lock mechanism, a Chromium browser cannot execute parallel operations. +A Chromium browser can handle up to 6 parallel operations. During periods of heavy load, incoming requests will accumulate in the queue until they are processed, time out, or the queue reaches its maximum capacity. In the latter case, the request will be terminated prematurely. @@ -107,8 +107,9 @@ The following flags allow you to configure the Chromium module: | Flag | Environment variable | Description | Default | |-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------| -| --chromium-restart-after | CHROMIUM_RESTART_AFTER | Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. | 10* | +| --chromium-restart-after | CHROMIUM_RESTART_AFTER | Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. | 100* | | --chromium-max-queue-size | CHROMIUM_MAX_QUEUE_SIZE | Maximum request queue size for Chromium. Set to 0 to disable this feature. | 0 | +| --chromium-max-concurrency | CHROMIUM_MAX_CONCURRENCY | Maximum number of concurrent conversions. Chromium supports up to 6. | 6 | | --chromium-auto-start | 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 | CHROMIUM_START_TIMEOUT | Maximum duration to wait for Chromium to start or restart. | 20s | | --chromium-allow-file-access-from-files | CHROMIUM_ALLOW_FILE_ACCESS_FROM_FILES | Allow file:// URIs to read other file:// URIs. | false |