mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
mod_ping uses iqdisc no_queue by default (thanks to Chris Moos)(EJAB-1435)
This commit is contained in:
parent
3c549bca4e
commit
f893669d91
@ -95,7 +95,7 @@ init([Host, Opts]) ->
|
||||
SendPings = gen_mod:get_opt(send_pings, Opts, ?DEFAULT_SEND_PINGS),
|
||||
PingInterval = gen_mod:get_opt(ping_interval, Opts, ?DEFAULT_PING_INTERVAL),
|
||||
TimeoutAction = gen_mod:get_opt(timeout_action, Opts, none),
|
||||
IQDisc = gen_mod:get_opt(iqdisc, Opts, one_queue),
|
||||
IQDisc = gen_mod:get_opt(iqdisc, Opts, no_queue),
|
||||
mod_disco:register_feature(HostB, ?NS_PING),
|
||||
gen_iq_handler:add_iq_handler(ejabberd_sm, HostB, ?NS_PING,
|
||||
?MODULE, iq_ping, IQDisc),
|
||||
|
Loading…
Reference in New Issue
Block a user