mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Give temporary processes time to stop cleanly
Allow temporary processes to perform some final actions when shutting down. For example, moc_muc_room:terminate/3 fails to send 'unavailable' presence to the room participants when killed immediately.
This commit is contained in:
parent
cc958f7787
commit
06db65e108
@ -36,4 +36,4 @@ init(Module) ->
|
||||
{ok,
|
||||
{{simple_one_for_one, 10, 1},
|
||||
[{undefined, {Module, start_link, []}, temporary,
|
||||
brutal_kill, worker, [Module]}]}}.
|
||||
1000, worker, [Module]}]}}.
|
||||
|
Loading…
Reference in New Issue
Block a user