Skip to content
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

Document send queue listener options #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
19 changes: 19 additions & 0 deletions content/admin/configuration/listen-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,25 @@ Specify the maximum payload size in bytes.
It can be either an integer or the word `infinity`.
The default value is `infinity`.

## max_send_queue_delay

*Integer*

Specifies the maximum number of milliseconds to queue an outgoing stanza or
stream management element. Setting this option to a positive (non-zero) number
allows for batching up multiple XML elements into a single TCP packet in order
to reduce the TCP/IP overhead. The default value is `0`, which disables
queueing.

## max_send_queue_size

*Size*

Specifies the maximum number of elements to add to the send queue. The default
value is `10`. Note that this option has no effect if `max_send_queue_delay`
isn't set to a value larger than `0`. Setting this option to `0` disables
queueing.

## max_stanza_size

*Size*
Expand Down
4 changes: 4 additions & 0 deletions content/admin/configuration/listen.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ Options:
[ciphers](/admin/configuration/listen-options/#ciphers),
[dhfile](/admin/configuration/listen-options/#dhfile),
[max_fsm_queue](/admin/configuration/listen-options/#max-fsm-queue),
[max_send_queue_delay](/admin/configuration/listen-options/#max-send-queue-delay),
[max_send_queue_size](/admin/configuration/listen-options/#max-send-queue-size),
[max_stanza_size](/admin/configuration/listen-options/#max-stanza-size),
[protocol_options](/admin/configuration/listen-options/#protocol-options),
[send_timeout](/admin/configuration/listen-options/#send-timeout),
Expand Down Expand Up @@ -123,6 +125,8 @@ Options:
[global_routes](/admin/configuration/listen-options/#global-routes),
[hosts](/admin/configuration/listen-options/#hosts),
[max_fsm_queue](/admin/configuration/listen-options/#max-fsm-queue),
[max_send_queue_delay](/admin/configuration/listen-options/#max-send-queue-delay),
[max_send_queue_size](/admin/configuration/listen-options/#max-send-queue-size),
[max_stanza_size](/admin/configuration/listen-options/#max-stanza-size),
[password](/admin/configuration/listen-options/#password),
[protocol_options](/admin/configuration/listen-options/#protocol-options),
Expand Down