Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alliballibaba2 committed Jan 15, 2025
1 parent d43f6f0 commit 9c1c8a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ To find the right values, it's best to run load tests simulating real traffic.
To configure the number of threads, use the `num_threads` option of the `php_server` and `php` directives.
To change the number of workers, use the `num` option of the `worker` section of the `frankenphp` directive.

### `max_threads`
### `max_threads`

While it's always better to know exactly what your traffic will look like, real-life applications tend to be more
unpredictable. The `max_threads` configuration is similar to FPM's `pm.max_children` and allows
FrankenPHP to automatically spawn additional threads at runtime up to the specified limit. `max_threads` can help you
FrankenPHP to automatically spawn additional threads at runtime up to the specified limit. `max_threads` can help you
figure out how many threads you need to handle your traffic and can make the server more resilient to latency spikes.
If set to `auto`, the limit will be estimated based on the `memory_limit` in your `php.ini`. If not able to do so,
`auto` will instead default to 2x `num_threads`.
Expand Down

0 comments on commit 9c1c8a8

Please sign in to comment.