mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
mod_stream_mgmt: Increase 'max_ack_queue' default
Users with large rosters and/or certain transports might receive a very large number of (e.g.) presence and/or PEP stanzas after logging in. Clients might take some time to acknowledge them, especially over slow (mobile) connections.
This commit is contained in:
parent
79685da90b
commit
532aba993b
@ -709,7 +709,7 @@ bounce_message_queue() ->
|
||||
%%%===================================================================
|
||||
get_max_ack_queue(Host, Opts) ->
|
||||
gen_mod:get_module_opt(Host, ?MODULE, max_ack_queue,
|
||||
gen_mod:get_opt(max_ack_queue, Opts, 1000)).
|
||||
gen_mod:get_opt(max_ack_queue, Opts, 5000)).
|
||||
|
||||
get_resume_timeout(Host, Opts) ->
|
||||
gen_mod:get_module_opt(Host, ?MODULE, resume_timeout,
|
||||
|
Loading…
Reference in New Issue
Block a user