]> granicus.if.org Git - ejabberd/commit
Add 'supervisor' listening option
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Wed, 11 Jan 2017 07:56:04 +0000 (10:56 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Wed, 11 Jan 2017 07:56:04 +0000 (10:56 +0300)
commit5cfe57ece56d8b4436f3e862723b560711352508
tree69b5ea05392d3008593418874246fb59a6bf4df8
parentdd5389df2359c0c1cfa5826c8b0ee25593b700b0
Add 'supervisor' listening option

If set to 'true' (this is the default), new processes spawned by
ejabberd_listener will be attached to the corresponding supervisor.
No such processes will be attached to a supervisor otherwise.
Setting this to 'false' will improve performance of high loaded
systems where new C2S/S2S processes are spawned very rapidly.
src/ejabberd_c2s.erl
src/ejabberd_s2s_in.erl
src/ejabberd_s2s_out.erl