Skip to content

Adjust documentation to match errors found via schema updates #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app-server/aws-lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ logs:
mode: production
level: error
encoding: json
output: stderr
output: [ stderr ]

endure:
grace_period: 1s
Expand Down
4 changes: 2 additions & 2 deletions lab/logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ the output key.

```yaml
logs:
output: stdout
output: [ stdout ]
```

{% endcode %}
Expand Down Expand Up @@ -131,7 +131,7 @@ logs:
channels:
http:
mode: production
output: http.log
output: [ http.log ]
```

{% endcode %}
Expand Down
17 changes: 8 additions & 9 deletions plugins/tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ tcp:
max_jobs: 0
allocate_timeout: 60s
destroy_timeout: 60s

# The size of the read buffer in MB. Can be increased to reduce the number of read syscalls.
# Consider using a larger buffer size if you expect to receive large payloads on the TCP server.
# Optional; example.
read_buf_size: 20
```

{% endcode %}
Expand Down Expand Up @@ -110,15 +115,9 @@ tcp:
- `addr`: The server address and port, specified in the format `tcp://<IP_ADDRESS>:<PORT>`.
- `delimiter`: (Optional) The data packet delimiter. By default, it is set to `\r\n`. Each data packet should end
either with an `EOF` or the specified delimiter.
- `read_buf_size`: (Optional) The size of the read buffer in MB. To reduce the number of read syscalls, consider
using a larger buffer size if you expect to receive large payloads on the TCP server.

- `pool`: Configuration for the PHP worker pool.
- `num_workers`: The number of PHP workers to allocate.
- `max_jobs`: The maximum number of jobs each worker can handle. Set to 0 for no limit.
- `allocate_timeout`: The timeout for worker allocation, specified in the format `<VALUE>s` (e.g., `60s` for 60
seconds).
- `destroy_timeout`: The timeout for worker destruction, specified in the same format as allocate_timeout.

- `pool`: Configuration for the PHP worker pool for the TCP servers. See
https://docs.roadrunner.dev/docs/php-worker/pool for available parameters.

## PHP client

Expand Down