Skip to content

Commit

Permalink
Correct buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperpedersen committed Sep 23, 2024
1 parent 61e9466 commit 070f856
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ See a [sample](./etc/pgmoneta.conf) configuration for running `pgmoneta` on `loc
| tls_key_file | | String | No | Private key file for TLS. This file must be owned by either the user running pgmoneta or root. Additionally permissions must be at least `0640` when owned by root or `0600` otherwise. |
| tls_ca_file | | String | No | Certificate Authority (CA) file for TLS. This file must be owned by either the user running pgmoneta or root. |
| libev | `auto` | String | No | Select the [libev](http://software.schmorp.de/pkg/libev.html) backend to use. Valid options: `auto`, `select`, `poll`, `epoll`, `iouring`, `devpoll` and `port` |
| buffer_size | 65535 | Int | No | The network buffer size (`SO_RCVBUF` and `SO_SNDBUF`) |
| buffer_size | 65536 | Int | No | The network buffer size (`SO_RCVBUF` and `SO_SNDBUF`) |
| backup_max_rate | 0 | Int | No | The number of bytes of tokens added every one second to limit the backup rate|
| network_max_rate | 0 | Int | No | The number of bytes of tokens added every one second to limit the netowrk backup rate|
| manifest | sha256 | String | No | The hash algoritm for the manifest. Valid options: `crc32c`, `sha224`, `sha256`, `sha384` and `sha512`|
Expand Down
2 changes: 1 addition & 1 deletion doc/man/pgmoneta.conf.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ libev
The libev backend to use. Valid options: auto, select, poll, epoll, iouring, devpoll and port. Default is auto

buffer_size
The network buffer size (SO_RCVBUF and SO_SNDBUF). Default is 65535
The network buffer size (SO_RCVBUF and SO_SNDBUF). Default is 65536

keep_alive
Have SO_KEEPALIVE on sockets. Default is on
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/user-02-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ See a [sample][sample] configuration for running [**pgmoneta**][pgmoneta] on `lo
| tls_key_file | | String | No | Private key file for TLS. This file must be owned by either the user running pgmoneta or root. Additionally permissions must be at least `0640` when owned by root or `0600` otherwise. |
| tls_ca_file | | String | No | Certificate Authority (CA) file for TLS. This file must be owned by either the user running pgmoneta or root. |
| libev | `auto` | String | No | Select the [libev][libev] backend to use. Valid options: `auto`, `select`, `poll`, `epoll`, `iouring`, `devpoll` and `port` |
| buffer_size | 65535 | Int | No | The network buffer size (`SO_RCVBUF` and `SO_SNDBUF`) |
| buffer_size | 65536 | Int | No | The network buffer size (`SO_RCVBUF` and `SO_SNDBUF`) |
| backup_max_rate | 0 | Int | No | The number of bytes of tokens added every one second to limit the backup rate|
| network_max_rate | 0 | Int | No | The number of bytes of tokens added every one second to limit the netowrk backup rate|
| manifest | sha256 | String | No | The hash algoritm for the manifest. Valid options: `crc32c`, `sha224`, `sha256`, `sha384` and `sha512`|
Expand Down

0 comments on commit 070f856

Please sign in to comment.