Switch to start_link
Start all processes linked - to collapse the whole tree if one process fails
This commit is contained in:
parent
92bd2513c1
commit
082eabb65b
7 changed files with 20 additions and 18 deletions
|
@ -127,7 +127,7 @@
|
|||
%% @doc
|
||||
%% Generate a new clerk
|
||||
clerk_new(InkerClerkOpts) ->
|
||||
gen_server:start(?MODULE, [InkerClerkOpts], []).
|
||||
gen_server:start_link(?MODULE, [InkerClerkOpts], []).
|
||||
|
||||
-spec clerk_compact(pid(), pid(),
|
||||
fun(), fun(), fun(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue