We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6665004 commit f77eca5Copy full SHA for f77eca5
docs/worker.md
@@ -163,6 +163,13 @@ frankenphp {
163
}
164
```
165
166
+### Number of threads
167
+
168
+When the worker mode is enabled, an additional thread is required to handle the incoming requests,
169
+so the default `num_threads` value is `1 + 2x(number of available CPUs)`.
170
171
+Thus, in that mode if `num_threads` and `num` are explicitly set, `num_threads` must be strictly greater then `num`.
172
173
## Superglobals Behavior
174
175
[PHP superglobals](https://www.php.net/manual/en/language.variables.superglobals.php) (`$_SERVER`, `$_ENV`, `$_GET`...)
0 commit comments