mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-06 21:37:17 +02:00
use one_queue IQ discipline by default
This commit is contained in:
parent
ee861e650d
commit
8647ca5f0b
|
@ -172,7 +172,7 @@ start_link(Host, Opts) ->
|
|||
init([Host, Opts]) ->
|
||||
HostB = list_to_binary(Host),
|
||||
State = parse_options(Host, Opts),
|
||||
IQDisc = gen_mod:get_opt(iqdisc, Opts, parallel),
|
||||
IQDisc = gen_mod:get_opt(iqdisc, Opts, one_queue),
|
||||
gen_iq_handler:add_iq_handler(ejabberd_local, HostB, ?NS_VCARD,
|
||||
?MODULE, process_local_iq, IQDisc),
|
||||
gen_iq_handler:add_iq_handler(ejabberd_sm, HostB, ?NS_VCARD,
|
||||
|
|
Loading…
Reference in New Issue
Block a user