diff --git a/content/admin/configuration/listen-options.md b/content/admin/configuration/listen-options.md index 9c3054d6..a2bc08a8 100644 --- a/content/admin/configuration/listen-options.md +++ b/content/admin/configuration/listen-options.md @@ -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* diff --git a/content/admin/configuration/listen.md b/content/admin/configuration/listen.md index be7a0be8..55ca0007 100644 --- a/content/admin/configuration/listen.md +++ b/content/admin/configuration/listen.md @@ -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), @@ -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),