Skip to content

Commit 15c999a

Browse files
committed
Fix count parameter documentation for HttpServerProcess and SymfonyHttpServerProcess
1 parent 8633a2b commit 15c999a

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

docs/integrations/symfony.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,20 @@ This bundle adds new Symfony-specific options to the start command: (`--env`, `-
9292
Worker class: [SymfonyHttpServerProcess](https://github.com/phpstreamserver/symfony/blob/main/src/Worker/SymfonyHttpServerProcess.php)
9393
This worker type is designed to run the Symfony application web server.
9494

95-
| Option | Type | Default | Description |
96-
|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|--------------------------------------------------------------------------|
97-
| `listen` | string\|[Listen](https://github.com/phpstreamserver/http-server/blob/main/src/Listen.php)\|[Listen[]](https://github.com/phpstreamserver/http-server/blob/main/src/Listen.php) | *not set* | The address at which the server is listening. |
98-
| `count` | int | 1 | Optional. The number of processes to start. |
99-
| `reloadable` | bool | true | Optional. Whether the worker can be reloaded with the reload command. |
100-
| `user` | string | *not set* | Optional. Unix user of process. Current user by default. |
101-
| `group` | string | *not set* | Optional. Unix group of process. Current group by default. |
102-
| `middleware` | [Middleware[]](https://github.com/amphp/http-server/blob/3.x/src/Middleware.php) | *not set* | Optional. A list of middlewares for processing HTTP requests. |
103-
| `reloadStrategies` | [ReloadStrategy[]](https://github.com/phpstreamserver/core/blob/main/src/ReloadStrategy/ReloadStrategy.php) | *not set* | Optional. The strategies used to reload the worker. |
104-
| `accessLog` | bool | true | Optional. Whether to log incoming HTTP requests. |
105-
| `gzip` | bool | false | Optional. Enables gzip compression. |
106-
| `connectionLimit` | int | *not set* | Optional. The maximum number of connections per worker. |
107-
| `connectionLimitPerIp` | int | *not set* | Optional. The maximum number of connections allowed per IP. |
108-
| `concurrencyLimit` | int | *not set* | Optional. The maximum number of concurrent HTTP requests per worker. |
95+
| Option | Type | Default | Description |
96+
|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|-------------------------------------------------------------------------|
97+
| `listen` | string\|[Listen](https://github.com/phpstreamserver/http-server/blob/main/src/Listen.php)\|[Listen[]](https://github.com/phpstreamserver/http-server/blob/main/src/Listen.php) | *not set* | The address at which the server is listening. |
98+
| `count` | int | *not set* | Optional. The number of processes to start. Defaults to number of CPUs. |
99+
| `reloadable` | bool | true | Optional. Whether the worker can be reloaded with the reload command. |
100+
| `user` | string | *not set* | Optional. Unix user of process. Current user by default. |
101+
| `group` | string | *not set* | Optional. Unix group of process. Current group by default. |
102+
| `middleware` | [Middleware[]](https://github.com/amphp/http-server/blob/3.x/src/Middleware.php) | *not set* | Optional. A list of middlewares for processing HTTP requests. |
103+
| `reloadStrategies` | [ReloadStrategy[]](https://github.com/phpstreamserver/core/blob/main/src/ReloadStrategy/ReloadStrategy.php) | *not set* | Optional. The strategies used to reload the worker. |
104+
| `accessLog` | bool | true | Optional. Whether to log incoming HTTP requests. |
105+
| `gzip` | bool | false | Optional. Enables gzip compression. |
106+
| `connectionLimit` | int | *not set* | Optional. The maximum number of connections per worker. |
107+
| `connectionLimitPerIp` | int | *not set* | Optional. The maximum number of connections allowed per IP. |
108+
| `concurrencyLimit` | int | *not set* | Optional. The maximum number of concurrent HTTP requests per worker. |
109109

110110
### ⚙️ SymfonyPeriodicProcess
111111
Worker class: [SymfonyPeriodicProcess](https://github.com/phpstreamserver/symfony/blob/main/src/Worker/SymfonyPeriodicProcess.php)

0 commit comments

Comments
 (0)