Switch mix worker to transient

This commit is contained in:
Christophe Romain 2016-08-01 14:09:16 +02:00
parent a9c6748ec7
commit bf45c9eeee
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ start_link(Host, Opts) ->
start(Host, Opts) ->
Proc = gen_mod:get_module_proc(Host, ?PROCNAME),
ChildSpec = {Proc, {?MODULE, start_link, [Host, Opts]},
temporary, 5000, worker, [?MODULE]},
transient, 5000, worker, [?MODULE]},
supervisor:start_child(ejabberd_sup, ChildSpec).
stop(Host) ->