Switch to start_link

Start all processes linked - to collapse the whole tree if one process fails
This commit is contained in:
Martin Sumner 2018-06-28 12:16:43 +01:00
parent 92bd2513c1
commit 082eabb65b
7 changed files with 20 additions and 18 deletions

View file

@ -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(),