25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Set 'max_fsm_queue' default value (back) to 10000

The default value for the 'max_fsm_queue' option was set to 10000 in
commit 79685da90b, and that value is still
documented to be the default.  It was (probably unintentionally) changed
to 5000 in commit 03de853e4f.

It makes sense to keep it larger than the value of mod_stream_mgmt's
'max_ack_queue' option.
This commit is contained in:
Holger Weiss 2020-05-05 01:34:12 +02:00
parent 6d13120e69
commit 865074603c
4 changed files with 4 additions and 4 deletions

View File

@ -999,4 +999,4 @@ listen_options() ->
{tls_verify, false},
{zlib, false},
{max_stanza_size, infinity},
{max_fsm_queue, 5000}].
{max_fsm_queue, 10000}].

View File

@ -351,4 +351,4 @@ listen_options() ->
{tls, false},
{tls_compression, false},
{max_stanza_size, infinity},
{max_fsm_queue, 5000}].
{max_fsm_queue, 10000}].

View File

@ -302,7 +302,7 @@ listen_options() ->
{tls, false},
{tls_compression, false},
{max_stanza_size, infinity},
{max_fsm_queue, 5000},
{max_fsm_queue, 10000},
{password, undefined},
{hosts, []},
{check_from, true},

View File

@ -256,7 +256,7 @@ listen_opt_type(max_payload_size) ->
econf:pos_int(infinity).
listen_options() ->
[{max_fsm_queue, 5000},
[{max_fsm_queue, 10000},
{max_payload_size, infinity},
{tls, false},
{tls_verify, false}].