Skip to content

Conversation

@ktherage
Copy link
Contributor

No description provided.

@dunglas
Copy link
Member

dunglas commented Jun 10, 2025

Can you please add it to the English version (which is authoritative) as well?

@henderkes
Copy link
Contributor

I would be for keeping all documentations equally up-to-date. We shouldn't update only one without the others. LLM's or traditional translators can provide the necessary text.

@henderkes
Copy link
Contributor

henderkes commented Jun 10, 2025

English:
Queued connections will wait indefinitely until a PHP thread is available to serve them. To avoid this, you can use the max_wait_time [configuration](config.md) in FrankenPHP's global configuration to limit the duration a request can wait for a free PHP thread before being rejected.
Turkish:
Kuyruktaki bağlantılar, onlara hizmet edecek bir PHP thread'i mevcut olana kadar süresiz olarak bekleyecektir. Bunu önlemek için, bir isteğin reddedilmeden önce boş bir PHP thread'i için ne kadar süre bekleyebileceğini sınırlamak amacıyla FrankenPHP'nin global yapılandırmasında max_wait_time [yapılandırmasını](config.md) kullanabilirsiniz.
Russian:
Соединения в очереди будут ждать бесконечно, пока не станет доступен PHP-поток для их обслуживания. Чтобы избежать этого, вы можете использовать [конфигурацию](config.md) max_wait_time в глобальной конфигурации FrankenPHP для ограничения времени, в течение которого запрос может ждать свободный PHP-поток перед отклонением.
Chinese:
排队的连接将无限期等待,直到有可用的 PHP 线程为其提供服务。为了避免这种情况,您可以在 FrankenPHP 的全局配置中使用 max_wait_time [配置](config.md)来限制请求在被拒绝之前等待空闲 PHP 线程的持续时间。

@ktherage
Copy link
Contributor Author

@henderkes I've done it for English, but I can't find where to add it for russian and chinesse as the file classic.md has no equivalent in those languages.

@henderkes
Copy link
Contributor

Yeah I think I've added them in a different (not merged yet) PR. Chinese, Russian and Turkish aren't always up to date with the En/Fr versions.

docs/classic.md Outdated
The PHP thread pool operates with a fixed number of threads initialized at startup, comparable to the static mode of PHP-FPM. It's also possible to let threads [scale automatically at runtime](performance.md#max_threads), similar to the dynamic mode of PHP-FPM.

Queued connections will wait indefinitely until a PHP thread is available to serve them. To prevent that, you can use the `max_wait_time` [configuration](config.md#caddyfile-config) to limit how long a request may wait for a free PHP thread before being rejected.
Queued connections will wait indefinitely until a PHP thread is available to serve them. To avoid this, you can use the max_wait_time [configuration](config.md) in FrankenPHP's global configuration to limit the duration a request can wait for a free PHP thread before being rejected.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, you should out back the #caddyfile-config. I didn't check what the headline was called in each language.

@ktherage ktherage requested a review from henderkes June 27, 2025 15:25
Copy link
Contributor

@henderkes henderkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't review, only comment, but looks good.

@dunglas dunglas merged commit fcc5299 into php:main Jun 30, 2025
1 check passed
@dunglas
Copy link
Member

dunglas commented Jun 30, 2025

Thanks!

@ktherage ktherage deleted the patch-1 branch July 1, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants