aboutsummaryrefslogtreecommitdiff
path: root/src/mod_mqtt.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2020-05-05 01:34:12 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2020-05-05 01:34:12 +0200
commit865074603c1dd11f0d5d2638d9e1ae61c713fec9 (patch)
tree4e31502233a6f5600e1beb1830205a47b2aaf97f /src/mod_mqtt.erl
parentmod_stun_disco: Log discovered services on startup (diff)
Set 'max_fsm_queue' default value (back) to 10000
The default value for the 'max_fsm_queue' option was set to 10000 in commit 79685da90b514a49f9c412e31dccc17be9dd8680, and that value is still documented to be the default. It was (probably unintentionally) changed to 5000 in commit 03de853e4fdcf852ae75a86922c08bb1a0950e6d. It makes sense to keep it larger than the value of mod_stream_mgmt's 'max_ack_queue' option.
Diffstat (limited to '')
-rw-r--r--src/mod_mqtt.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mqtt.erl b/src/mod_mqtt.erl
index 1bc75aa15..f08fdd844 100644
--- a/src/mod_mqtt.erl
+++ b/src/mod_mqtt.erl
@@ -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}].